Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Invalid Names when Opening Workbook.
by Allen Wyatt
(last updated February 8, 2020)
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, on your colleague's system, the add-ins that are being loaded. 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 (5897) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Invalid Names when Opening Workbook.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
You already know that you can define names that apply to different ranges of cells and other elements such as formulas. ...Discover More
Renaming a workbook from within Excel can seem daunting, but it is actually quite easy. All you need to do is use the ...Discover More
If you have two workbooks that each have the same name, opening them at the same time in Excel could cause some problems. ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.