WD: Auto Macros in WordID: Q189767
|
Word reserves special names for macros that you can create to alter the way Word behaves. These are called auto macros. The auto macros in Microsoft Word are:
AutoExec
AutoNew
AutoOpen
AutoClose
AutoExit
Word recognizes a macro whose name begins with "Auto" as a macro that runs
automatically when the situation to which it applies arises. You supply the
actual steps for the auto macro by either writing or recording the macro.
You can prevent an auto macro from running by holding down the SHIFT key
when you perform the action that triggers the macro.
NOTE: There are also a variety of start-up switches that can be used with
Word. For more information aobut startup switches, please see the
following article in the Microsoft Knowledge Base:
Q122687 WD: How to Start Word for the Macintosh Without an Open Document
The AutoExec macro runs when Word starts if the AutoExec macro was saved as part of the default (Normal.dot) template or if it was saved as part of a global add-in.Q183996 WD98: Changing the Default Folder
winword /mat a command prompt to start Word.
"Microsoft Word for Windows Technical Reference," pages 7-8
"Microsoft Word for Windows and OS/2 Technical Reference," pages 97-99
"Using WordBasic," by WexTech Systems and Microsoft, pages 84-87.
"Microsoft Word Developers Kit," Third Edition, pages 35-37.
"Microsoft Word 6.0 User Guide," Chapter 10, pages 220-224.
For additional information, click Microsoft Word Help Topics on the Microsoft
Word 7.0 Help menu, click the Find tab, type "global" (without the quotation
marks), select "global template" and click Display.
In Word 6.0, click "Search for Help on" on the Help menu, type "global"
(without the quotation marks), select "global templates" and then click Show
Topics. Select "Loading a template as a global template" and click Go To.
Additional query words: automation vba startup event
Keywords : kbmacro kbdta wordnt word6 winword2 word7 word95
Version : MACINTOSH:6.0,6.0.1,6.0.1a; WINDOWS:2.0c,6.0,6.0a,6.0c,7.0,7.0a; winnt:6.0
Platform : MACINTOSH WINDOWS winnt
Issue type : kbinfo
Last Reviewed: July 30, 1999