The information in this article applies to:
SYMPTOMSIn Microsoft Excel 4.0, a workbook may disappear from the workspace if you are using the FORMULA.GOTO() macro function. This behavior usually occurs when the FORMULA.GOTO() function is used to go to a defined range on a worksheet in a second workbook. WORKAROUND
To work around this situation, switch to the second workbook sheet and
select the range of cells with another function such as the
WORKBOOK.ACTIVATE() function.
Unlike the macro example shown below, the macro above does not go directly from the Workbook Contents page of the first workbook (A.XLW) to the named range on the second workbook (B.XLW). The first line of the macro activates the second workbook, B.XLW. The second line of the macro activates Sheet1 in workbook, B.XLW. The third line selects the named range, "test", and Sheet1. STATUSThis behavior does not occur in later versions of Microsoft Excel. MORE INFORMATION
The following example describes a situation in which this behavior
will occur. At the end of this example, a macro example is given to
show how to avoid this problem.
If you click Unhide on the Window menu, A.XLW does not appear in the list. Also, if you click the Window menu, A.XLW does not show at the bottom as an open file. However, if you click Open on the File menu and select A.XLW, Microsoft Excel asks you if you want to "Revert to Saved 'A.XLW'?", as if the workbook is currently open. At this point you can either click Cancel or click OK. If you try to click A.XLW in the list of four recently opened files on the File menu, Microsoft Excel will not open the file and after doing this none of the sheets on the workspace are active. Also, if you exit Microsoft Excel, you will be asked if you want changes in A.XLW saved, meaning it is still open somewhere. REFERENCES"Function Reference," version 4.0, pages 4, 172, 460-461 Additional query words: XL4 4.00a closes close gone removed remove
Keywords : xlformula |
Last Reviewed: April 6, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |