Can't Access the Registry

by Allen Wyatt
(last updated September 16, 2019)

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:

http://answers.microsoft.com/en-us/office/forum/office_2007-customize/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. Also, even though the article is in a place dedicated to help with Office 2007, the solution it provides should work if you are experiencing the same issue with a different version of Excel.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10151) applies to Microsoft Excel 2007, 2010, 2013, and 2016.

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

Setting a VBA Variable from a Bookmark

Bookmarks are quite helpful in a document. You may want to transfer the contents of a bookmark into a macro variable in ...

Discover More

Determining if Caps Lock is On

If your macro needs to determine the status of the Caps Lock key, you need the code in this tip. Just use the Information ...

Discover More

Summing Only Cells Containing Formulas

If you want to figure out the sum of all cells that contain formulas, there are a couple of ways you can go about it. ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Making AutoComplete Work for an Entire Column

AutoComplete is a great feature for quickly adding data to a worksheet. If you are confused by why some things are picked ...

Discover More

Using a Single Instance of Excel with Two Monitors

Working on a computer system that has multiple monitors can help increase your productivity. If you want to work with ...

Discover More

Working in Feet and Inches

Your chosen occupation may require that you work with linear distances in feet and inches. Excel can do this, to a ...

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}] 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 four minus 2?

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.