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

Using an En Dash, by Default

In publishing, it is common practice to indicate a range of numbers by using an en dash between the first number and the ...

Discover More

Moving the Insertion Point in a Macro

One of the common things done in macros is to somehow "process" documents, which often means moving the insertion point ...

Discover More

Making Managerial Titles Lowercase

Your in-house document style may require that job titles be all lowercase. Applying such a rule across a long document or ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Tying a Hyperlink to a Specific Cell

Make a hyperlink to a cell in your workbook, edit the structure of that workbook a bit, and you may find that the ...

Discover More

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

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 two less than 6?

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.