AutoCorrect .DisplayAutoLayoutOptions Property

PowerPoint Developer Reference

Determines whether Microsoft Office PowerPoint should display the AutoLayout Options button. Read/write.

Syntax

expression.DisplayAutoLayoutOptions

expression   A variable that represents an AutoCorrect object.

Return Value
MsoTriState

Remarks

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

Constant Description
msoFalse Do not display the AutoLayout Options button.
msoTrue Display the AutoLayout Options button.

Example

This example disables display of the AutoCorrect Options and AutoLayout Options buttons.

Visual Basic for Applications
  Sub HideAutoCorrectOpButton()
    With Application.AutoCorrect
        .DisplayAutoLayoutOptions = msoFalse
        .DisplayAutoLayoutOptions = msoFalse
    End With
End Sub

See Also