In a previous post we created a macro to toggle between showing bookmarks and hiding them.  In this post we will create a custom shortcut for this macro.
To create a custom shortcut we need to go to the ‘Custom Ribbon’ screen.  To get there we go to File/Options and Click on ‘Customize Ribbon’:
Click on 'Customize Ribbon' to create short cut in Word
On the bottom of the screen you will see a Keyboard shortcuts button.  Click on ‘Customize…’
Click 'Customize...' next to Keyboard shortcuts.
Under the ‘Categories’ drop-down, scroll down and select ‘Macros.’  You will see our custom macros appear on the ‘Macros’ list.  Select ‘ToggleBookmarks’ on the list.
Select ToggleBookmarks macro to create custom shortcut
Now we can add a short-cut key to invoke the macro.  The ‘Current keys’ box is empty, so nothing has been assigned yet.   Let’s try Alt+B.   In the ‘New Shortcut key’ box enter Alt  and B.
enter Alt + B in Shortcut key box.
Click the ‘Assign’ button.
Click 'Assign' button to add shortcut key
Alt+B now appears in the ‘Current keys’ list.  


Enter Alt+B to show bookmarks:
Enter Alt+B again to hide the bookmarks.
Another kind of shortcut we could add is a custom button to the Quick Access toolbar.  The Quick Access toolbar is a small toolbar that appears above or below the Word Ribbon.  To customize this toolbar, click on the small down arrow at the end of the toolbar:
Click 'More Commands' on Quick Access Toolbar to add custom macro
At the bottom of the list click ‘More Commands…’

From the ‘Choose commands from…’ drop-down list, click on ‘Macros.’

Here you will see the list of macros that we created in the previous post.

Select ‘ToogleBookmarks…’ from the list and click the ‘Add’ button:

The macro will appear with a little macro icon on the left:
Click ToggleBookmarks on QAT Macros list
To change the icon click the ‘Modify…’ button to see a list of icons that you can choose from:
Display of available symbols for customizing QAT
I will pick the  circular arrows, but you can select whatever icon you like.  We can see that it now appears on the left of our macro.   Click ‘OK’ to save it.
The macro icon now appears on the Quick Access toolbar.


Recent Articles