Link Broken Moving WorkSheet Linked to Function Procedure (109186)
The information in this article applies to:
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
This article was previously published under Q109186 SYMPTOMS
In Microsoft Excel, if you move a worksheet that contains a link to a
function procedure, and then move the module containing the function
procedure to a new workbook, the worksheet cell containing the link to the
function procedure may display the #NAME error value.
CAUSE
If you move a worksheet containing a link to a function procedure, and then
move the module containing the function procedure to a new workbook, the
link to the function procedure is lost. As long as the original worksheet
remains open, and you do not recalculate the cell containing the link, the
result of the function procedure is displayed in the cell that contains the
link. However, if you recalculate the cell containing the link, the #NAME
error value is displayed in the cell containing the link. For example, if
the workbook and module you move are the only sheets contained in the
workbook, the workbook closes when the last sheet is moved without saving
any changes and the link is lost.
WORKAROUND
To move a worksheet containing a link to a function procedure and the
module containing the function procedure to another workbook while
maintaining the link, move both sheets at the same time as follows:
- To select both the worksheet and the module sheet, click the worksheet
tab, hold down the CTRL key, and click the module sheet tab.
- From the Edit menu, choose Move or Copy Sheet. From the To Book box,
select (new book) or the name of the workbook to which you want to move
the sheets. Choose OK.
Modification Type: | Minor | Last Reviewed: | 8/15/2005 |
---|
Keywords: | KB109186 |
---|
|