Creating macros using the excel macro
recorder
<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" />
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
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 in fig 1.1:
© Copyright 2001-2009
helpwithpcs.com
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 fig
1.2 below.
|