Microsoft Knowledge Base |
|
XL: Can't Reference Global Name on First Sheet |
|
|
Last reviewed: March 27, 1997
Article ID: Q107077 |
|
5.00 7.00 | 5.00
WINDOWS | MACINTOSHkbusage kbtlc
The information in this article applies to:
SYMPTOMSOn the first worksheet in a workbook in Microsoft Excel, you will not be able to refer to a global name when there is a local name on the first worksheet that is the same as the global name.
WORKAROUNDTo work around this situation, do one of the following:
MORE INFORMATIONNormally, to refer to a global name on a workbook, only the global name or the workbook name and the global name are necessary. For example, to refer to the global name "test" on any sheet in the workbook "book1," use the following formula:
book1!testHowever, to refer to a global name on the first worksheet when the first worksheet contains a duplicate local name, you must use the name of another worksheet in the workbook along with the global name. For example, to refer to the global name "test" on sheet1, when sheet1 contains the local name "sheet1!test," use the following formula
sheet2!testwhere "sheet2" is the name of any worksheet in the current workbook that does not contain "test" as a local name. If you use "book1" or "sheet1" in place of "sheet2" in the above example, the local name "test" is referenced instead of the global name.
Steps to Reproduce Behavior
=sheet1!testThis behavior only occurs in the first worksheet in the workbook.
For additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: XL5: Can't Define Global Name if Same Name Exists TITLE : Q111905 REFERENCES"User's Guide," version 5.0, pages 144-150 For more information about Naming a Cell, Range or Formula, choose the Search button in Help and type:
naming |
|
KBCategory: kbusage kbtlc
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |