Monday, April 04, 2005

 
An auto macro is a macro that runs automatically whenever some key event happens, such as when Word starts or when a document closes. Word recognizes auto macros by their names. For example, a macro named AutoNew automatically runs when you create a new document from a template, and a macro named AutoClose automatically runs when you close a document.
Here are the various auto macros available in Word 2003:
AutoExec: Runs when Word starts. Store it in the Normal.dot template.
AutoExit: Runs when Word exits. Store it in the Normal.dot template.
AutoNew: Runs whenever a new document is created using the template that contains the AutoNew macro.
AutoOpen: Runs whenever an existing document opens. You can create an AutoOpen macro in the Normal.dot template or in the template that's attached to the document. Or both.
AutoClose: Runs whenever an open document closes. This macro can reside in Normal.dot or in the template attached to the document.

Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?