Create a shortcut key for printing selected text in Word

When you want to print a selected portion of text in Microsoft Word 2002 or 2003, it would be nice if you didn't have to use the Print menu every time. Find how out how you can make this process more efficient by creating a macro and assigning it to a keyboard shortcut.

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:

  1. Press [ALT][F11].
  2. In the Project-Normal view, double-click Normal | Microsoft Word Objects | This Document.
  3. Enter the following code in the Normal-This Document window:
Sub PrintSelection()
'PrintSelection macro
       Application.PrintOut Range: =wdPrintSelection
End Sub
  1. Select File | Close And Return To Microsoft Word.
  2. Select Tools | Customize.
  3. Click the Keyboard button.
  4. Under Categories, select Macros.
  5. Under Macros, select PrintSelection.
  6. In the Press New Shortcut key text box, press [ALT][P]. In the Select Changes In drop-down menu, select
  7. Click the Assign button.
  8. 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.

Editor's Picks

Free Newsletters, In your Inbox