Shortcut Manager for PowerPoint allows you to assign keyboard shortcuts
to VBA macros. In the Customize Shortcuts dialog box, Shortcut Manager
lists the macros that it finds in your VBA Code Module in the Macros
category. To be able to discover your macros, your code needs to be
accessible to Shortcut Manager for PowerPoint. Once the shortcuts are
defined, then the key combinations would work even if the VBA code is
password protected and not available for viewing. Follow these steps:
PowerPoint 2019, 2016, 2013, 2010, 2007 |
PowerPoint 2003, 2002, 2000 |
- Enable access to the VBA code by supplying the password to the VBA editor.
- Select Home tab, click Customize button in
the Keyboard Shortcuts group to bring up the Customize
Shortcuts dialog box.
- In the Customize Shortcuts dialog, locate and select the
Macros category. The macros in your PowerPoint file will
be listed in the Commands list. Locate and select the macro
for which you wish to assign a keyboard shortcut.
- In the Assign shortcut to command
box, press the key combination that you wish to assign to
the selected command.
- Click OK.
- Save and close the presentation.
|
- Enable access to the VBA code by supplying the password to the VBA editor.
- Select Tools | Customize Shortcuts... menu
item to bring up the Customize Shortcuts dialog box.
- In the Customize Shortcuts dialog, locate and select the
Macros category. The macros in your PowerPoint file will
be listed in the Commands list. Locate and select the macro
for which you wish to assign a keyboard shortcut.
- In the Assign shortcut to command
box, press the key combination that you wish to assign to
the selected command.
- Click OK.
- Save and close the presentation.
|
Now when you open this presentation again, the defined shortcuts would
work. You don't need to supply the password while using the shortcuts.