The information in this article applies to:
SUMMARYIn the "Microsoft Excel Function Reference," version 4.0, the CLOSE functions documentation is incorrect. On page 56 of the Function Reference, the first and third remarks are incorrect. MORE INFORMATION
The CLOSE command only closes one window of a document. If other
windows of that document are open, the file itself is not closed.
This is incorrect. If CLOSE is executed while the workbook contents page is active, there are two possibilities:
The third remark on page 56 of the "Microsoft Excel Function Reference" reads:
This is only partially true. If none of the documents contained in the workbook are open in separate windows, the changes saved only if the SAVE_LOGICAL parameter is TRUE. However, if only a workbook window is closed, the information is saved in memory as long as the workbook remains open, but the file is not saved to disk. To avoid confusion, it may be easier to use the SAVE.WORKBOOK command and/or the FILE.CLOSE command. Use FILE.CLOSE instead of CLOSE when you want to close an entire document instead of just one window in a document. REFERENCES"Microsoft Excel Function Reference," version 4.0, pages 55-56, 145, 371 Additional query words: macro
Keywords : |
Last Reviewed: March 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |