Can't Access the Registry

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


When Jacques opens the Visual Basic Editor and clicks Tools | References, he gets the following message: "Can't access the system registry." Jacques isn't sure why this occurs and he's wondering how to fix it.

The Registry is, of course, the place where all the configuration information for your installation of Windows is stored. In addition, many applications (such as Excel and VBA) store configuration information in the Registry. If something is out of kilter in the Registry, then you may have problems accessing whatever application is expecting to find information there. This is apparently what is happening in Jacques' case.

In this particular case, it seems that the problem may be related to account permissions to access certain Registry information. The solution to this is not a trivial one; it can require a number of rather detailed steps to fix. Rather that recreate those steps here, it is best to visit the following page:

https://answers.microsoft.com/en-us/msoffice/forum/all/a-step-by-step-procedure-for-fixing-error/3c81197e-a237-4fb7-8c8a-d28145f7428e

I know that URL is very long, so you'll want to make sure that you get it all included when you go to visit the page.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10151) 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

Hiding Macros

Need to hide some macros in your workbook? There are three ways you can do it, as covered in this discussion.

Discover More

Formatting Page Numbers

Need to format the page numbers you added to your document? Word makes it easy, using the same techniques you use to ...

Discover More

Printing Only Some Pages

I often need to print only select pages of a document, rather than the whole thing. Word makes it easy to be judicious in ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Freezing the Top Three Rows

Excel allows you to freeze rows or columns in your worksheet so that they don't scroll. How you freeze them can be a bit ...

Discover More

Starting in Safe Mode

By using a command-line switch, Excel can be started in safe mode. This means that the program is loaded with bare-bones ...

Discover More

Working with Record Numbers

Want to keep track of various rows in a data table through the use of record numbers? Here are some options and ...

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 minus 1?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.