Post Reply  Post Thread 
Excel Macro tutorial, A free guide to creating macros in Excel
Author Message
admin
Unregistered


Post: #1
Excel Macro tutorial, A free guide to creating macros in Excel

The simplest way to create a macro in Excel is to use the macro recorder.

The first step is to open up the workbook (file) that you wish to use the macro in.

Then click on Tools, hover over Macros and then select Record new macro from the menu.

You will now see the Record Macro dialogue box as shown below



Attached File(s) Thumbnail(s)
   
01-24-2006 05:59 PM
Quote this message in a reply
admin
Unregistered


Post: #2
RE: Excel Macro tutorial, A free guide to creating macros in Excel

There are 4 points of interest:

Name - Type the name of your macro.

Shortcut key - (optional) this has to be a letter, we have used h, so in our example the macro will run every time we hold down the CTRL key and press the H key.

Store macro in - This would normally be the workbook you are working on (this workbook), but you can save macros into a personal macro workbook.

Description - Here you can enter a description of the macro for your benefit.

When you have finished filling in the information click the OK button to start the macro recorder.

You will now see the macro recording box as shown in below.



Attached File(s) Thumbnail(s)
   
01-24-2006 06:00 PM
Quote this message in a reply
admin
Unregistered


Post: #3
RE: Excel Macro tutorial, A free guide to creating macros in Excel

Everything you do now in the workbook will be recorded, so manually go through the process that you want your macro to recreate, for instance adding up a column.

When you have finished click on the small blue square within the macro recording box to stop recording.

Playing the macro back

To run the macro click on tools, hover the mouse over Macro, then select Macros.

You will see the Macro dialogue box, your macro should be in there ready to use.

To use the macro simply select it and then click the Run button.

The macro dialogue box also allows you to delete and edit macros, for instance by clicking on the Options button you can assign or change the keyboard shortcut associated with each macro.

If you have assigned a keyboard shortcut to a macro then you can run it by holding down the CTRL key and pressing the associated letter.

01-24-2006 06:02 PM
Quote this message in a reply
Guest
Unregistered


Post: #4
RE:  Excel Macro tutorial, A free guide to creating macros in Excel

admin Wrote:
Everything you do now in the workbook will be recorded, so manually go through the process that you want your macro to recreate, for instance adding up a column.

When you have finished click on the small blue square within the macro recording box to stop recording.

Playing the macro back

To run the macro click on tools, hover the mouse over Macro, then select Macros.

You will see the Macro dialogue box, your macro should be in there ready to use.

To use the macro simply select it and then click the Run button.

The macro dialogue box also allows you to delete and edit macros, for instance by clicking on the Options button you can assign or change the keyboard shortcut associated with each macro.

If you have assigned a keyboard shortcut to a macro then you can run it by holding down the CTRL key and pressing the associated letter.

01-28-2006 03:53 PM
Quote this message in a reply
Guest
Unregistered


Post: #5
RE: Excel Macro tutorial, A free guide to creating macros in Excel

Thanks for sharing

06-18-2006 04:11 PM
Quote this message in a reply
carlyse_09
Junior Member
**


Posts: 3
Group: Registered
Joined: Jan 2009
Status: Offline
Reputation: 0
Post: #6
RE: Excel Macro tutorial, A free guide to creating macros in Excel

That could make a great help and it is a new added information for me.Thanks for posting it here.


foods and diet
02-01-2009 03:32 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

[-]
Quick Reply
Message
Type your reply to this message here.




View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites
Rate This Thread:

Forum Jump: