Wednesday, September 2, 2009

Create A Macro In Excel 2007

Macros automate repetitive tasks in Excel 2007.


Excel 2007 includes extra features for working with the data in your spreadsheets, such as adding together values or counting the number of cells in a range. Macros are a prerecorded set of instructions that automate any series of operations in Excel. Creating a macro allows you to save time by automating repetitive tasks that you need to complete on a regular basis. Making a new macro only takes a few quick clicks.


Instructions








1. Open Excel 2007 and click the "Developer" tab at the top-right end of the window. Click the "Record Macro" button at the top of the "Code" heading.


2. Type a name for the new macro in the "Name" text box, such as "Adding Columns" or "My New Macro." Type a key in the "Shortcut Key" text box if you want to map a shortcut to the new macro. Pressing the "Ctrl" key and the key you specify will automatically run the new macro.


3. Type a brief description of what the macro is intended to accomplish in the "Description" box if you think other users may potentially need your macro. Click "OK" to begin recording the new macro.








4. Perform the specific operations you want recorded in the macro, such as adding together the values in columns, creating new rows or calculating the average of two cells.


5. Click "Stop Recording" when you are done performing operations. Click the "Macros" button when you need to run the macro. Click the macro's name and then choose "Run."

Tags: Excel 2007, adding together, adding together values, macro Click, repetitive tasks, such adding