Macro Window Closes While the Macro Is Running

Last reviewed: July 30, 1997
Article ID: Q106070
The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, version 7.0

SYMPTOMS

In Word for Windows, while a macro is running in a macro editing window, you can close that macro editing window. If you have not saved the macro, Word prompts you to save it. If the macro is unsaved and contains the "FileClose 2" statement, Word closes the macro window without saving the macro, and the macro is lost.

STATUS

This is a design feature of Word 6.0 and 7.0. To avoid losing a macro that contains the "FileClose 2" statement, be sure to save your macro before you run it.

This functionality is different from that of Word 1.x or 2.x, in which a running macro cannot close its own macro editing window.

REFERENCES

WordBasic Help, "FileClose" topic

Kbcategory: kbusage kbmacro KBSubcategory:


Additional query words: 6.0 change lose saved lost gone word6
6.0a 6.0c 7.0 word95 word7 winword disappears disappeared
Version : 6.0 6.0a 6.0c 7.0
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 30, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.