Entry Macro Runs Before AutoNew Macro in Protected Form |
Q113291
When you create a document based on a template that is protected for forms,
Word for Windows runs the Entry macro in the first FORM field before it
runs an AutoNew macro. The Entry macro runs before both global and template-
based AutoNew macros.
If there is no Entry macro in the first FORM field, the AutoNew macro runs
first, as usual.
We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
If you need to run the AutoNew macro before the first Entry macro runs in a document based on a template that is protected for forms, you can run AutoNew from your Entry macro using the following procedure:
Sub MAIN
NotAutoNew
MsgBox "Type your name here."
End Sub "Microsoft Word User's Guide," version 6.0, pages 318-319, 754
Additional query words: 6.00a autonew runs first macro form fields word6 winword autoentry auto-entry run on
Keywords : kbtemplate
Issue type :
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |