Microsoft Knowledge Base |
|
XL: Change Source Causes Incorrect Relative Reference |
|
|
Last reviewed: November 8, 1996
Article ID: Q119261 |
|
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, if you define a name that contains both a reference to another workbook, and a relative reference, the relative reference changes incorrectly when you change the source of the link using the Links dialog box.
CAUSEThis behavior occurs when a cell other than A1 is selected on the worksheet when you use the Change Source button in the Links dialog box. For example, if you select the cell C4, and create a name that refers to the following
=INDEX([SUPPORT.XLS]Sheet1!$A$1:$C$9,Sheet1!$B4,Sheet1!C$3)these references change to the following, if the cell C4 is selected when you use the Change Source button:
=INDEX([SUPPORT.XLS]Sheet1!$A$1:$C$9,Sheet1!$B1,Sheet1!A$3)Note that this behavior occurs even if you select the same source document in the Change Links dialog box.
WORKAROUNDTo avoid an incorrect relative reference in a defined name that contains a reference to another workbook, select cell A1 on the worksheet before you use the Change Source button in the Links dialog box.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
REFERENCESFor more information about Changing The Reference To A Source Area, choose the Search button in Help and type:
links, to source data, changingFor more information about Naming A Cell, Range, Or Formula, choose the Search button in Help and type:
names, creating |
|
KBCategory: kbprb
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |