The information in this article applies to:
SYMPTOMSIf a WordBasic macro contains FileClose and the macro is used on exit from a form field of a protected document, the FileClose command will not function, and the following error message will appear:
WORKAROUND
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN
RISK. Microsoft provides this macro code "as is" without warranty of any
kind, either express or implied, including but not limited to the implied
warranties of merchantability and/or fitness for a particular purpose.
When using the above workaround, you will be unable to use the SAVE
parameter for the FileClose command. If you need to use this parameter, use
the SetDocumentDirty command instead. The following macro uses the
SetDocumentDirty command to close the document without saving.
STATUSMicrosoft has confirmed this to be a problem in Word versions 6.0, 6.0a, 6.0c, and 7.x. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: forms
Keywords : kberrmsg kbmacro wordnt winword ntword macword word6 word7 word95 |
Last Reviewed: December 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |