Using the VSTA Manager¶
Use the VSTAManager toolbar to record, edit, and run Microsoft® Visual Studio Tools for Applications (VSTA) macros.
Macros let you perform tasks repeatedly and automate command sequences.
Macros are created by using the built-in features for VSTA.
You do not need programming experience to use macros. To create advanced macros, you can use the VSTA integreated development environment. Currently VSTA version 2.0 is supported.
To open the VSTA Manager toolbar:
Click Tools > VSTA Manager (or type VSTAManager).
To record macros:
Click Record macro (VSTA Manager toolbar).
Run the commands to record.
Click Stop recording (VSTA Manager toolbar).
Macro recording ends.
To run macros:
Select a macro on the VSTA Manager toolbar.
Click Play macro (VSTA Manager toolbar).
The macro runs.
To edit macros:
Select a macro on the VSTA Manager toolbar.
Click Launch editor (VSTA Manager toolbar).
Microsoft Visual Studio Tools for Applications 2.0 opens and displays the recorded macro code.
Edit the macro code.
To delete a macro:
Click Delete macro (VSTA Manager toolbar).
Type the name of the macro to delete.
Click Yes to confirm the deletion.
Access
Command: VSTAManager
Menu: Tools > VSTA Manager
Related Topics
Recording, Editing, and Running VSTA Macros
Parent Topic