How To Use Macro In Excel
January 6, 2010 | No Comments | Microsoft Excel 2003
- · To record a macro
- From the Tools menu, point to Macro and click on Record New Macro.
- From the Record Macro dialog box displayed, enter a name for the macro in the Macro name: text box.
- The default description is displayed in the Description: text box, and contains the date and user name. If required, change it.
- To begin recording, click OK.
- Perform the actions you want the macro to record. Actions can be any combinations of Excel commands.
- To stop recording, from the Tools menu, point to Macro and click on Stop Recording.
To assign a shortcut key to the macro
- From the Tools menu, point to Macro and click on Macros.
- From the Macro dialog box displayed, select the macro name (if recorded before) to which you want to assign a shortcut key.
- Click the Options button to display the Macro Options dialog box.
- Type a letter into the Ctrl+ text box. This combination key will be used to invoke the macro.
- Click OK to return to the Macro dialog box.
- Click on the Cancel button to close.
To run a macro using the Tools Macro command
- From the Tools menu, point to Macro and click on Macros.
- From the Macro dialog box displayed, click on the name of the macro you wish to run in the Macro name: list box.
- Click the Run button.Note: If you wish to edit or delete a macro, just click on the particular button.
To run a macro using the assigned shortcut key
- Press Ctrl+?, with ? is the letter which you assigned.
To create a button and assign an Excel macro to it
- If the Forms toolbar is not display, right click on any toolbar that is visible and from the pop-up menu that is displayed select Forms.
- To create a button, click the Button icon on the Forms toolbar.
- Then, click and drag the mouse to the intended button size.
- When release the mouse button, the Assign Macro dialog box will be displayed.
- Click on the Record button and the Record Macro dialog box will be displayed.
- Enter a name for the macro in the Macro name: text box.
- Click on the OK button.
- Record your macro in the normal way, and click on the button and select Edit Text from the pop-up menu.
- To run the macro, simply click on the button.
To change a button name
- Double click on the button to highlight the button name.
- Type in a new name and click on any worksheet cell to deselect the button.
To delete a button
- Click on button and press the Delete key.
Popularity: 11% [?]




![[Ask]](http://www.officetutors.com/wp-content/plugins/bookmarkify/ask.png)
![[del.icio.us]](http://www.officetutors.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.officetutors.com/wp-content/plugins/bookmarkify/digg.png)
![[diigo]](http://www.officetutors.com/wp-content/plugins/bookmarkify/diigo.png)
![[dzone]](http://www.officetutors.com/wp-content/plugins/bookmarkify/dzone.png)
![[Facebook]](http://www.officetutors.com/wp-content/plugins/bookmarkify/facebook.png)
![[Furl]](http://www.officetutors.com/wp-content/plugins/bookmarkify/furl.png)
![[Kaboodle]](http://www.officetutors.com/wp-content/plugins/bookmarkify/kaboodle.png)
![[linkaGoGo]](http://www.officetutors.com/wp-content/plugins/bookmarkify/linkagogo.png)
![[LinkedIn]](http://www.officetutors.com/wp-content/plugins/bookmarkify/linkedin.png)
![[Mixx]](http://www.officetutors.com/wp-content/plugins/bookmarkify/mixx.png)
![[Reddit]](http://www.officetutors.com/wp-content/plugins/bookmarkify/reddit.png)
![[Spurl]](http://www.officetutors.com/wp-content/plugins/bookmarkify/spurl.png)
![[StumbleUpon]](http://www.officetutors.com/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Technorati]](http://www.officetutors.com/wp-content/plugins/bookmarkify/technorati.png)
![[Twitter]](http://www.officetutors.com/wp-content/plugins/bookmarkify/twitter.png)













