Restrictions Blocking Hyperlinks

Written by Allen Wyatt (last updated August 3, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


1

When David clicks a hyperlink in a worksheet, he sees a message that says, "this operation has been cancelled due to restrictions in effect on this computer." This is David's home computer, and he hasn't put any restrictions in place of which he's aware. He wonders how to fix this so that he can, once again, use hyperlinks.

This is, from everything we can tell, not a problem with Excel, but a problem with Windows. You may be able to solve the problem by making sure your version of Windows is up to date. If that doesn't fix it, then you'll need to make a change in the Windows Registry.

Note that changing the Registry has the potential to mess up your system entirely if you do it incorrectly. (Does that sound scary? Good!) For that reason, it can be a good idea to back up your Registry "just in case." If you don't know how to back up your Registry, then this may help:

https://windows.tips.net/T012206

Once you are ready, get out of Excel and any other programs you are using, and then press Windows+R. You'll see the Run dialog box, and you should type "regedit" (without the quotes) and press Enter. You'll then see the Registry Editor displayed. Using the tools it provides, navigate to the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun

Right-click on the key and, from the resulting Context menu, choose Delete. Once deleted, you can exit the Registry Editor. (And it wouldn't hurt to restart Windows.)

If you are still experiencing issues, then you may find these articles helpful:

https://answers.microsoft.com/en-us/msoffice/forum/all/cant-open-any-hyperlinks-in-excel-2010-this/890fa6a8-68ca-4c99-a253-d23d7549e9db 
https://answers.microsoft.com/en-us/windows/forum/all/error-this-operation-has-been-cancelled-due-to/f8f2cc9e-4e63-4cd7-a84e-3daeed10700c 
https://stackoverflow.com/questions/30707353/this-operation-has-been-canceled-due-to-restrictions-in-effect-on-this-computer 
https://appuals.com/this-operation-has-been-cancelled-due-to-restrictions-in-effect-on-this-computer/
https://www.slipstick.com/problems/this-operation-has-been-cancelled-due-to-restrictions/

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (13936) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Moving and Selecting Rows

If you need to move down a row and then select that row, you may wonder if there is a shortcut to handle such a ...

Discover More

Viewing Your Custom Styles

If you develop a set of preferred styles, you may want to use those styles with a document you receive from someone else. ...

Discover More

Finding Where the Current Document is Saved

It is possible to have multiple documents on your system, each with the same filename. If you work on those documents at ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (ribbon)

Pulling Access Information into Excel

If you have a lot of data stored in Access databases, you may want to get at that information using Excel. There are a ...

Discover More

Editing a Hyperlink

Excel will cheerfully keep track of all sorts of hyperlinks for you. If you want to change the hyperlink in some way, ...

Discover More

Updating Links in Copied Files

When you copy workbooks that contain links, you may be at a loss as to how to update those links. There are a couple of ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 2 + 2?

2024-08-04 02:39:45

Ron S

I forgot to mention the simplest "fix". It is also the one that is most often forgotten/skipped.

RESTART your Computer!
Sometimes Windows "gets confused". The fix is to reload windows by restarting the computer.

Since restarting messes with anything you have open it is a "med level" trouble shooting step. Do any of the "non destructive", non-risky repair suggestions first.

Then, BEFORE hacking the registry, is a good time for a restart.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.