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

Determining the Week of the Year

If you are working with dates in a macro, you may need to determine which week of the year a date falls within. This can ...

Discover More

Turning Off Capital Corrections

Tired of having Excel second-guess you when you type a word that starts with two capital letters? You can turn off this ...

Discover More

ExcelTips: Filters and Filtering

Excel provides two ways to filter your data so that only what you want to see is displayed. Discover how filtering works ...

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)

Don't Update Links to Other Programs

If you have links in your workbook to data in other workbooks, you may want to control whether Excel updates those links ...

Discover More

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

Unwanted Hyperlinks

Tired of having Excel convert what you type into active hyperlinks? Here are things you can do to undo Excel's ...

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 one minus 0?

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.