Restrictions Blocking Hyperlinks

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


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, 2021, and Excel in Microsoft 365.

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

Canceling a Menu

Want to back out of whatever you are doing in a menu? As with many tasks, Word provides several different ways you can ...

Discover More

Adding Multiple Rows to a Table

Need to add more than a single row to an existing table? Word provides an assortment of ways that you can accomplish the ...

Discover More

Replacing the Space between the Last Two Words of Each Paragraph

Some replacement tasks can seem daunting, but Word provides some great tools for making just about any replacement you ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Jumping to a Specific Cell Using a Hyperlink

Excel allows you to define hyperlinks in your worksheets, and these can target specific cells on other worksheets. Here ...

Discover More

Replacing Links with Values

Need to get rid of the links in your workbook but save the values that were retrieved by those links? It could be easy or ...

Discover More

Changing Huge Numbers of Hyperlinks

Need to change the various targets of a group of hyperlinks? Getting at the underlying link can seem challenging, but it ...

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 seven less than 8?

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.