Partager via


AutoCorrect.DisplayAutoCorrectOptions Property (PowerPoint)

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

Syntax

expression .DisplayAutoCorrectOptions

expression A variable that represents an AutoCorrect object.

Return Value

MsoTriState

Remarks

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

Constant

Description

msoFalse

Do not display the AutoCorrect Options button.

msoTrue

Display the AutoCorrect Options button.

Example

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

Sub HideAutoCorrectOpButton()

    With Application.AutoCorrect

        .DisplayAutoCorrectOptions = msoFalse

        .DisplayAutoLayoutOptions = msoFalse

    End With

End Sub

See Also

Concepts

AutoCorrect Object

AutoCorrect Object Members