Muokkaa

Jaa


SlideShowView.AcceleratorsEnabled property (PowerPoint)

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

Syntax

expression. AcceleratorsEnabled

expression A variable that represents an SlideShowView object.

Return value

MsoTriState

Remarks

If shortcut keys are disabled during a slide show, you can neither use the keyboard 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.

The value of the AcceleratorsEnabled property can be one of these MsoTriState constants.

Constant Description
msoFalse Shortcut keys are disabled during a slide show.
msoTrue The default. Shortcut keys are enabled during a slide show.

Example

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

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

See also

SlideShowView Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.