AcceleratorsEnabled Property

Microsoft PowerPoint Visual Basic

Determines whether shortcut key are enabled during a slide show. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants. (If shortcut keys are disabled during a slide show, you can neither use keys to navigate in the slide show nor press F1 to get a list of shortcut keys. You can still use the ESC key to exit the slide show.)
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue Default. Shortcut keys are enabled during a slide show.

expression.AcceleratorsEnabled

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example runs a slide show of the active presentation with shortcut keys disabled.

ActivePresentation.SlideShowSettings.Run _
    .View.AcceleratorsEnabled = False