CorrectCapsLock Property

Microsoft Word Visual Basic

CorrectCapsLock Property

       

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

Example

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

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