Join Gini von Courter for an in-depth discussion in this video Record an auto macro, part of Word: Automating Your Work with Macros.
- There are macro names reserved…for five specific events that can occur in Microsoft Word,…and by creating a macro using one of these five names,…you have a macro that automatically fires…that you don't have to use a keyboard shortcut…or choose it from the list of macros.…The five events are: when Word starts,…or when you load a global template,…those things happen, usually occur at the same time;…when you create a brand new document;…when you open a document that already exists;…when you close a document;…or when you exit Word or unload a global template.…
So if I wanted to have Word run a particular macro…each and every time I created a new document,…I would just create that macro and name it AutoNew.…Now you have to name it exactly that name,…you can't put a underscore between "Auto" and "New."…And this macro can be stored anywhere…that you would store other macros.…You could store it in a document,…you could store it in a template,…you could store it in Normal template.…But it will only run if it's either in the Normal template,…
- List the steps required to run the macros on a document you created when you open the document and see a SECURITY WARNING banner message.
- Explain how to run a macro.
- Identify where to save a building block if there is no logical gallery for it.
- Recall the best way to create an auto macro.
- Recognize why you would create a macro in the Visual Basic Editor rather than using the Macro Recorder.
- Identify what you can add any existing macro to.