Compartilhar via


AutoCorrect.CorrectCapsLock Property

Word Developer Reference

True if Word automatically corrects instances in which you use the CAPS LOCK key inadvertently as you type. Read/write Boolean.

Syntax

expression.CorrectCapsLock

expression   A variable that represents an AutoCorrect object.

Example

This example determines whether Word is set to automatically correct CAPS LOCK key errors.

Visual Basic for Applications
  If AutoCorrect.CorrectCapsLock = True Then
    MsgBox "Correct CAPS LOCK is active."
Else
    MsgBox "Correct CAPS LOCK is not active."
End If

See Also