Browse » Home
Saturday, April 27, 2013
How to Insert Macros in a Word 2007 Document
Open Developer Tab
1. Open Word and look for the 'Developer' tab on the ribbon at the top of the screen. If you see that tab, proceed to the next section.
2. Click the 'Office' icon at the top of the screen on the left. A menu will open.
3. Click the 'Word Options' button at the bottom of the menu to open the 'Word Options' menu.
4. Put a check-mark by 'Show Developer tab in the Ribbon' and click 'OK' to close the menu. The 'Developer' tab will appear on the Word ribbon. This tab contains macro tools.
Record a Macro
5. Click the 'Developer' tab and then click 'Record Macro' to open the 'Record Macro' pop-up window.
6. Enter a name for the macro in the 'Macro Name' text box and an optional description in the 'Description' text box. The description will assist you in identifying the macro later.
7. Click 'Keyboard' to open the 'Customize Keyboard' window. This window allows you to create a keyboard shortcut that will run your macro. Type a key combination such as 'CTRL+9.' View the 'Current Keys' box to verify that the key combination does not already exist.
8. Click the drop-down box under 'Store macro in' and select 'All Documents' if you want to make the macro visible to all documents. Otherwise, select the name of your current document and click 'OK' to close the 'Record Macro' window. Macro recording will begin.
9. Type the following text:This is a test
10. Press 'CTRL+A' and then 'CTRL+B.'
11. Click 'Stop Recording.' Word 2007 will stop recording the Macro.
12. Click the 'Macros' button on the 'Developer' tab and click your new macro to highlight it. Click 'Run.' Word will run the macro and type, 'This is a test.' It will also select the text and apply bold formatting.