1. Creating a Microsoft 2010 Excel
Macro
Lauraly DuBois
EDU 656 Technology Solutions for
JIT Training & Learning
Dr. Alicia Holland-Johnson
2. What is a macro
• A macro is a set of recorded instructions that
may be repeated using shortcut keys.
3. Why use a macro
• I use macros to quickly repeat keystrokes that
could take more time than I care to use to
complete a task.
4. Step 1: Create the Macro
Click on the Developer Category to reveal the Record Macro option
5. Step 2: Choose the macro type
Click on the ‘Use Relative References’ option
6. Step 3: Name & shortcut key
Type the name of the macro and assign a letter as the shortcut key
7. Step 4: Start Recording Macro
Click on the Record Macro option
8. Step 5: Record keystrokes
Now make the exact steps you want recorded in the macro
In this example, we will start in B1, copy B1 & C1
Then move down to B2 and paste to B2 & B2
9. Step 6: Stop Recording
Click on the ‘Stop Recording’ button
10. Step 7: Use Macro
Remember that you assigned the Ctrl + d buttons to this macro?
Place your cursor in the cell B2
Now press both the Ctrl and d keys on the keyboard at the same time
Notice the 2nd row is copied down to the 3rd row
Before
After