Application.AutoCorrect property (PowerPoint)

Returns an AutoCorrect object that represents the AutoCorrect functionality in Microsoft PowerPoint.

Syntax

expression. AutoCorrect

expression A variable that represents an Application object.

Return value

AutoCorrect

Example

The following 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

Application 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.