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

Open Documents Suddenly Become Read-Only

If a Word document is marked as "read only," that means that you cannot save updates to the document; they must be saved ...

Discover More

Nudging an Equation

You can adjust where an equation is printed by moving it minute amounts in any direction.

Discover More

Locking Worksheet Names

Want to stop other people from changing the names of your worksheets? You can provide the desired safeguard by using the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (ribbon)

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

Easily Changing Links

If you have linked information in your worksheets, you may want a way you can easily change the targets to which those ...

Discover More

Getting Rid of Workbook Links

Excel allows you to easily link information from one workbook to another. If you want to get rid of links that may be ...

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 0 + 7?

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.