Share via


AutoCorrect Property

AutoCorrect Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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

expression.AutoCorrect

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

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