You want to insert a specific Quick Part entry like a signature block, disclaimer, or boilerplate paragraph without navigating through the Insert tab and the Quick Part Gallery every time. Word lets you assign a custom keyboard shortcut to any command, but Quick Parts do not appear directly in the standard Customize Keyboard dialog. This article shows you how to save a macro that inserts your chosen Quick Part entry and then assign a keyboard shortcut to that macro.
Key Takeaways: Assign a Keyboard Shortcut to a Specific Quick Part
- Alt+F8 (Macros dialog): Run a recorded macro that inserts the Quick Part entry you want.
- View > Macros > Record Macro: Capture the exact steps for inserting a Quick Part entry from the gallery.
- File > Options > Customize Ribbon > Keyboard shortcuts: Customize: Assign any unused key combination to your new macro.
Why a Quick Part Entry Does Not Appear in the Customize Keyboard Dialog
Word stores Quick Part entries in the Building Blocks Organizer. The built-in keyboard customization dialog lists commands, not individual building block entries. You cannot select a specific Quick Part from the “Categories” or “Commands” list in the Customize Keyboard window. To work around this limitation, you record a macro that inserts the Quick Part entry and then assign a shortcut key to that macro. This method works for any Quick Part entry stored in any template, including Normal.dotm and custom template files.
Before you begin, confirm that the Quick Part entry you want to use exists in your document or template. To check, go to Insert > Quick Parts > Building Blocks Organizer. If the entry is not listed, create it first by selecting the content, then Insert > Quick Parts > Save Selection to Quick Part Gallery. Give it a descriptive name that you can recognize during macro recording.
Steps to Record a Macro That Inserts a Specific Quick Part Entry
- Open the document where you will use the Quick Part
Open the document or template that contains the Quick Part entry you want to insert. If the entry is stored in Normal.dotm, any document based on the normal template will work. - Start recording a macro
Go to View > Macros > Record Macro. In the Record Macro dialog, type a name for the macro, for example “InsertDisclaimer”. In the “Store macro in” dropdown, select “All Documents (Normal.dotm)” if you want the shortcut to work in every document. Leave the description field blank or add a short note. Click OK. The mouse pointer now shows a recording icon. - Insert the Quick Part entry
Click where you want the Quick Part entry to appear. Go to Insert > Quick Parts. In the Quick Part Gallery, click the entry you want to insert. Do not use the keyboard to navigate the gallery during recording because keystrokes are recorded exactly and may not work in other documents. - Stop recording
Go to View > Macros > Stop Recording. Word saves the macro. You can test it by pressing Alt+F8, selecting the macro name, and clicking Run. The Quick Part entry should appear at the cursor position.
Steps to Assign a Keyboard Shortcut to the Macro
- Open the Customize Keyboard dialog
Go to File > Options > Customize Ribbon. At the bottom of the dialog, click the “Keyboard shortcuts: Customize” button next to the label Customize. - Select Macros in the Categories list
In the Customize Keyboard dialog, scroll down the Categories list and select “Macros”. The Commands list now shows all available macros, including the one you just recorded. - Select your macro
In the Commands list, click the name of your macro, for example “InsertDisclaimer”. - Type the keyboard shortcut
Click inside the “Press new shortcut key” text box. Press the key combination you want to assign, for example Alt+Ctrl+Shift+D. Word shows whether the combination is already assigned to another command. If it is, choose a different combination. Click “Assign”. The new shortcut appears in the “Current keys” list. - Save and close
Click Close to exit the Customize Keyboard dialog. Click OK to close the Word Options dialog. Test the shortcut by pressing the key combination. The Quick Part entry should appear immediately.
If the Quick Part Entry Does Not Insert Correctly
“The macro is not available in this document” error
This error occurs when the macro is stored in a template that is not loaded in the current document. To fix this, store the macro in Normal.dotm during recording. If you already stored it in a different template, open the template file, go to View > Macros > Organizer, copy the macro to Normal.dotm, and reassign the shortcut.
Macro inserts the wrong Quick Part entry
This happens when you clicked the wrong entry during recording or when the Quick Part gallery shows different entries depending on the document context. Delete the macro and re-record it, making sure you click the exact entry name in the Quick Part gallery. If the entry is stored in a custom template, load that template in the current document before recording.
Shortcut key does nothing when pressed
The shortcut may be assigned to a different command in a different context. Open File > Options > Customize Ribbon > Keyboard shortcuts: Customize. In the “Categories” list, select “Macros”. Confirm that your macro appears in the “Current keys” list. If not, re-assign it. Also check that the macro is not disabled in the Macro Security settings. Go to View > Macros > View Macros. If your macro is listed but grayed out, go to File > Options > Trust Center > Trust Center Settings > Macro Settings and select “Enable all macros”.
| Item | Built-in Keyboard Shortcut | Macro + Keyboard Shortcut |
|---|---|---|
| Setup effort | None, but cannot target a specific Quick Part entry | Requires one-time macro recording and shortcut assignment |
| Flexibility | Only works with commands available in the Customize Keyboard dialog | Works with any Quick Part entry, including custom entries |
| Portability | Shortcut travels with the template if stored in Normal.dotm | Macro and shortcut travel with the template if stored in Normal.dotm |
| Error risk | None | Macro may fail if the Quick Part entry is renamed or deleted |
You can now insert any specific Quick Part entry with a single keyboard shortcut instead of navigating through the Insert tab and the gallery. Next, try recording macros for other repetitive tasks like inserting a table with a fixed layout or applying a specific paragraph style. For advanced use, edit the macro in the Visual Basic Editor to add logic such as checking whether the Quick Part entry exists before inserting.