ARCHIVED: In Microsoft Word, how do I assign a shortcut key to a macro?
Microsoft Word has many shortcut keys that allow you to access functions quickly. Some shortcuts are built into the program, but you can also assign shortcuts to macros you create. Once you have created a macro, follow the appropriate steps to assign a shortcut to it:
Microsoft Word 2007
- Click the Microsoft Office Button, and then click .
- Click . Under "Top options for working with Word", check . Click .
- On the tab, click .
- In the
Record Macro
window, under "Macro name:", type a name for the macro.Note: To view a list of built-in macros, on the
tab, click . Next to "Macros in:", from the drop-down list, select . - From the drop-down list under "Store macro in:", select the template or document in which you want to store the macro.
- Under "Description:", type a description of the macro. Do one of
the following:
- To begin recording the macro without assigning it to a button on the Quick Access Toolbar or to a shortcut key, click .
- To assign the macro to the Quick Access Toolbar:
- Click .
- From the drop-down list under "Customize Quick Access Toolbar:", select the document (or all documents) for which you want to add the macro to the Quick Access Toolbar.
- From the box on the left, click the macro that you are recording, and then click .
- Click to begin recording the macro.
- To assign the macro to a keyboard shortcut:
- Click .
- Under "Commands:", click the macro that you are recording.
- Under "Press new shortcut key:", type the key sequence that you want, and then click .
- Click to begin recording the macro.
- Perform the actions that you want to include in the macro.
- To stop recording your actions, in the tab, click .
Earlier versions of Microsoft Word
- From the menu, select .
- In the window that opens, click
Note: In Word 2000, first click the
tab, and then the button. .
- Under "Categories:", click . This will show a list of existing macros.
- Click the macro for which you'd like to assign a shortcut.
- Place your cursor in the "Press new shortcut key:" box, and then
assign a key combination for the selected macro by pressing the
desired key combination. You must use a combination of
Ctrl
orAlt
(Ctrl
orCmd
in Mac OS) and a letter, number, or symbol (e.g.,Ctrl-a
orCtrl-u
). - When you are satisfied with your shortcut, click
Note: If another function or macro is assigned to the combination you entered, you will see its name in the list under "Currently Assigned To:". If there is nothing currently assigned to the combination, the message will read "[unassigned]". Be sure to pick a combination that's unassigned, or you could unintentionally remove important combinations from Word.
.
- To save the macro to your normal template or to a specific document, under "Save changes in:", select the appropriate option.
This is document agwc in the Knowledge Base.
Last modified on 2018-01-18 12:16:27.