Share via


Macro Implementation

You create a VBScript macro by recording it or writing it manually. The easiest way to create one is to record it. When you record a macro, the recorder tracks your actions, converts them into VBScript commands, and then inserts the commands into the macro.

You can record macros in one of the following ways, both of which use the VBScript language:

  • Using a quick macro captures your actions from a particular session, making them available for playback until you record another quick macro.
  • Using a named macro enables you to name, save, and edit the actions you record.

When you finish recording the macro, it is stored in a text file known as a macro file. You can open this file to edit your macro.

To use a VBScript macro, you run it. If you expect to run it often, assign a toolbar button or key sequence to the macro. Then, you can run the macro by choosing the button or pressing the keys.

See Also

Macro Files | Macro Recording | Macro Operation | Renaming a Macro | Deleting a Macro | Writing a Macro Manually | Editing a Macro | Installing a Macro File | Assigning a Macro to a Toolbar Button | Assigning a Macro to a Key Sequence

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.