Using the Macro Builder

The Macro Builder opens a new blank macro for you to work with. Before you can work with your macro, you'll need to enter the macro's name. Click OK to save your blank macro. You can now choose from a variety of actions to include in your macro. Click the first line of the Actions column to choose an action from the drop-down menu. Depending on the action you choose, you might have to enter additional information to complete your macro. For example, if you choose RunApp from the Actions combo, you'll need to enter the command line used to start the application. To launch Outlook in response to the click of a command button, choose RunApp from the Actions menu and enter outlook.exe in the command line box. The second column in the macro window allows you to enter a description for any macro action you choose.

You can choose several macro commands to run in the same macro. Simply enter each command on its own line in the Actions column and continue to pay attention to the additional required parameters.

Design View dj Start] J & Figure 1-16

Design View dj Start] J & Figure 1-16

When you're done creating your macro, close it and return to your form. Unlike the Expression Builder, the macro you create through Macro Builder can be used anywhere without recreating it each and every time. Simply click in an event in the Properties dialog box and choose your newly created Macro from the drop-down list.

0 0

Post a comment