Recording a Named Macro That Can Be Saved and Edited (Windows CE 5.0)
To create a macro for repeated use, you can record a named macro and edit it after you save it.
To record a named macro
From the Tools menu, choose Macro.
Choose from the following:
To add a macro to a new macro file, choose Options, choose New File, enter a name and description for the file, and then choose OK.
To add a macro to an existing file, in the Macro File box select a file name.
If the file name is not there, install the file and then select it in the MacroFile box.
If you are creating a new macro, in the MacroName box, type a unique name for the macro.
You cannot record a macro that exists, nor can you record to a file that is read-only.
Choose Record.
In the Add Macro dialog box, type a description of the macro in the Description box and choose OK.
Perform the actions to record.
Choose from the following, as needed:
- To pause recording, choose Pause.
- To resume recording, choose Pause again.
Stop recording the macro by choosing Stop.
When recording stops, the selected macro file opens with the insertion point in the SUB block of the newly recorded macro.
If the recorder cannot match a VBScript command to the command you carry out, the recorder inserts an ExecuteCommand call to carry out the command. If the recorder substitutes ExecuteCommand for a command that causes a dialog box to appear, the dialog box appears when you run the macro but no user input appears.
See Also
Macro Recording | Installing a Macro File
Send Feedback on this topic to the authors