# Associating a macro with a Toolbar Button

Click here to see a numbered graphic illustrating the following procedure.

After you create a macro to run DECtalk from within a Microsoft Word document (step 1), you can associate the macro with a button on a toolbar. You can also associate the macro with a menu selection from one of the pull-down menus or with a power-key combination from the keyboard. This section illustrates how to link the macro with a button on a toolbar.

To associate a macro with a toolbar button:

Task/Location |  | Action | Result

Word dialog Tools menu | Step 1 | Select Customize. | The Customize dialog box is displayed. (1)
Customize dialog box. | Step 2 | Select the Toolbars tab and click on Macros (2). |
| Step 3 | Locate the macro you created and click the name. (3) |
| Step 4 | Place the cursor (arrow) on the macro name, press and hold MB1 and drag the cursor to the toolbar in which you want the DECtalk macro placed.(4) |
Word toolbar you select. | Step 5 | An outlined box appears where Word will place the new button. (4) | The Custom Button box is displayed. (5)
Custom button dialog box (5) | Step 6 | Click the button you want to associate with the DECtalk macro. (6) | The button is outlined.
| Step 7 | Click Assign. (7) | The new button now appears in the gray outlined box in the toolbar.

Related topics