AutoCorrect Property

Microsoft PowerPoint Visual Basic

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