- From the Tools menu, select Macro and click Macros .
- The Macro dialog box appears, in the Macro name section, select the macro name you want to run
- Click the Run button. Note : If you want to change or delete macros, just click the Edit or Delete button
Run macros with keyboard shortcuts
- Press Ctrl +? (with ? is the assigned character)
Create a command button and assign Excel macro
- If the Forms toolbar is not displayed, right-click on the toolbar, from the pop-up menu, select Forms .
- To create a button, from the Forms toolbar click the Button icon
- Then use the mouse to drag to the position you want, then appear a + sign and you can drag to arbitrary size
- When you release the mouse button, the Assign Macro dialog box appears.
- Click the Record button, the Record Macro dialog box appears
- From Macro name: enter the name of the macro to call
- Click the OK button
- Then, the macro is saved normally, click the command button, select Edit Text from the pop-up menu
- To run the macro, click the newly created button.
Change the button name
- Double click the button, then the button name is highlighted
- Type in a new name and click on the worksheet area
Delete the button
- Click the button and press the Delete key