Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.
If you frequently print selected text in Word 2002 or Word 2003, you can eliminate having to bring up the Print menu for each copy you print. You simply create a macro and assign it to a keyboard shortcut.
Follow these steps to create a shortcut key:
- Press [ALT][F11].
- In the Project-Normal view, double-click Normal | Microsoft Word Objects | This Document.
- Enter the following code in the Normal-This Document window:
Application.PrintOut Range: =wdPrintSelection
- Select File | Close And Return To Microsoft Word.
- Select Tools | Customize.
- Click the Keyboard button.
- Under Categories, select Macros.
- Under Macros, select PrintSelection.
- In the Press New Shortcut key text box, press [ALT][P]. In the Select Changes In drop-down menu, select Normal.dot.
- Click the Assign button.
- Click Close twice to return to your document.
To start benefiting from this keyboard shortcut, you need to select the text you want to print from the Word document and press [ALT][P].
Note: This example uses [ALT][P], but you can assign any keys that you didn't already assign to a keyboard shortcut.