Application.AutoCorrect Property

PowerPoint Developer Reference

Returns an AutoCorrect object that represents the AutoCorrect functionality in Microsoft Office 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.

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

See Also