Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Invalid Names when Opening Workbook.

Invalid Names when Opening Workbook

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


1

Vivek received a workbook from a colleague and when he tries to open it he gets an error: "One or more invalid names were detected in this workbook. Those invalid names have been changed to #REF." This means he can't see some of the calculations. The same workbook is okay when sent to another colleague, so Vivek wonders why the workbook won't work for him but it does for his colleague.

This problem is probably due to one of two things. First, it is possible that your colleague's system has some add-ins loaded that allow the workbook to function properly, but you don't have them. The solution is to display the add-ins that are being loaded on your colleague's system. Write them on a piece of paper, start Excel on your system, and then make sure you have the same add-ins loaded.

The other possibility is that the workbook includes formulas that are linking to external data from other workbooks. It is entirely possible that your colleague's system has access to those other workbooks (either locally on his system or over a network) and you don't have access to them. The only way to determine this, again, is from your colleague's system. Have him load the workbook and look for external links it may contain. Figure out where that external data is located, and then make sure you have access to that same data on your system.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12349) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Invalid Names when Opening Workbook.

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

Saving in MS-DOS Text Mode

Over the years Microsoft has made changes in Word. One change is to the import and export filters provided with the ...

Discover More

Bypassing the BeforeClose Event

Hold down the Shift key as you open a workbook, and Excel bypasses any "startup macros" that may be in the workbook. If ...

Discover More

Specifying a Browser in a Hyperlink

Excel allows you to easily add hyperlinks to a worksheet. Click on it, and the target of the link is opened in a browser ...

Discover More

Best-Selling VBA Tutorial for Beginners Take your Excel knowledge to the next level. With a little background in VBA programming, you can go well beyond basic spreadsheets and functions. Use macros to reduce errors, save time, and integrate with other Microsoft applications. Fully updated for the latest version of Office 365. Check out Microsoft 365 Excel VBA Programming For Dummies today!

More ExcelTips (ribbon)

Appending to a Non-Excel Text File

Does your macro need to add information to the end of a text file? This is called appending and is done using the ...

Discover More

Saving a Workbook with a Preview

When you save your workbooks, Excel can also save a preview image (thumbnail) that can be displayed in the Open dialog ...

Discover More

Different CSV Formats

Excel provides different CSV formats you can use to export your workbook data for use with other programs. What are those ...

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

2022-10-10 10:57:06

J. Woolley

My Excel Toolbox includes the following dynamic array function to list available add-ins with four columns (Add-In, Installed, Open, Path):
=ListAddIns()
First pick Developer > Excel Add-ins to open and close the Add-ins dialog, which initializes ListAddIns.
The following dynamic array function lists external links:
=ListExLinks([SkipReference],[SkipHeader])
The result is similar to the Data > Queries & Connections > Edit Links dialog minus its Update column, but ListExLinks optionally adds a Reference column to identify cells that contain a formula referencing the link.
In older versions of Excel these functions can be used with the SpillArray function like this:
=SpillArray(List...(...))
See https://sites.google.com/view/MyExcelToolbox/


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.