This guide covers how to create a letterhead macro in Microsoft Word for Office 2016/2019.
Macros automate common tasks. A macro can be created for virtually any task that you perform in Word. The amount of steps is irrelevant. You can even create a macro that automatically places certain text in a document with as many attributes as you’d like!
Macros are created with a recording device similar to a common tape recorder. Once you start recording your macro, a toolbar pops up with standard stop and pause buttons. The following is an example of how to create a macro for your customized letterhead paper.
Creating The Letterhead Macro
- Open a blank document. You want to assign your macro to all documents.
- From the View Tab, choose Macros and Record Macro. The Record Macro dialog box is displayed as shown below.
- Type a name for your macro, such as Letterhead. (Spaces are not allowed; use an underscore to indicate spacing).
- Under Store macro in: make sure that All Documents (Normal.dot) or Global Template is selected.
- Add a Description if you would like, this is helpful if you are creating a lot of macros and need to keep everything organized.
- To assign the macro to a keyboard shortcut click on Keyboard. This provides quick access to your macro.
- The Customize Keyboard dialog box appears as shown above.
- Assign a key combination. For this macro, since we’re creating a letterhead, we’ll use Alt-L. On your keyboard, press the ALT key and the letter L at the same time. The combination is automatically placed in the Press new shortcut key field.
- Click Assign
- Click Close.
Recording the Macro
After you choose Close, the recording of the macro immediately begins. To Stop Recording, you will need to click on macro again and click Stop Recording.
When you record your macro make sure that the following is included in your letterhead.
- Type the Letterhead information
OFFICE OF THE PRESIDENT
1101 Camden Avenue
Salisbury, MD 21801-6860
- Once you have completed the letterhead information, place your cursor at the end of the text and click the Page Layout tab in Office 2013 or Layout tab in Office 2016.
- Click Breaks.
- From the drop-down menu, select Continuous.
- Hold down the Shift key and press the Up Arrow ↑ on the keyboard multiple times until all of your text is highlighted.
- Click on Home tab.
- In the Font group, click on the Font Name drop-down box.
- Select Arial.
- Click on the Font Size drop-down box.
- Enter 7 and then press the Enter key on your keyboard.
- Make sure the text is still selected (highlighted)
- Click on the Page Layout tab in Office 2013 or the Layout tab in Office 2016.
- In the Paragraph group click on the bottom right corner. You should have a window pop up with the following areas in the Indents and Spacing tab.
- Under General, for Alignment: select Right from the drop-down menu.
- Under Indentation, make sure both Left: and Right: are set to 0.
- Under Spacing, for both Before: and After: enter 8pt.
- Click OK.
- In the Page Setup group in the Page Layout (2013) or Layout (2016) tab, click Margins.
- Select Custom Margins.
- In the Margins tab, make sure the Apply to: option in the lower left hand corner is set to Selected Section.
- Under Margins make sure that both Top: and Right: are set to .375. You may leave the Bottom: and Left: margins at the default.
- Click OK.
- Press the Down Arrow ↓ on the keyboard once to set the cursor at the start of the document, below the letterhead.
Once you have completed these steps, click the View tab. Click the Macro button and select Stop Recording as pictured below.
Click File>Close to close the document you just created. If asked to save the document you may do so.
Testing the Macro
- Click File.
- Click New.
- Select Blank Document.
- If you set a keyboard shortcut above, then click it now. For this example, press the ALT key and the letter L at the same time. Your letterhead should appear at the top right hand corner of the document.
- If you did not choose to set a keyboard shortcut for your macro, click the View tab.
- Click Macro in the Macro group.
- In the Macro window, select your macro and click Run.
- Once your letterhead appears, you may need to change your document font back to the default font, size and/or justification under the Font and Paragraph groups found in the Home tab.
For more information visit Microsoft Support for Macros
There is no content with the specified labels