MsoTriState can be one of these MsoTriState constants. |
msoCTrue |
msoFalse |
msoTriStateMixed |
msoTriStateToggle |
msoTrue |
expression.DisplayAutoCorrectOptions
expression Required. An expression that returns an AutoCorrect object.
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