Macro to Delete #REF! Defined Name Errors in a Workbook (153454)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q153454 SUMMARY
In Microsoft Excel, if you have a workbook with defined names that refer to
different worksheets and you then delete those worksheets, you will receive
a #REF!<cell reference> error in the defined names dialog box. You can only
delete the reference errors individually using the Define Name dialog box.
However, you can use a Microsoft Visual Basic for Applications procedure
to delete all defined name reference errors within the active workbook.
Modification Type: | Minor | Last Reviewed: | 8/17/2005 |
---|
Keywords: | kbdtacode kbhowto kbProgramming KB153454 |
---|
|