CorrectCapsLock 属性

       

当此属性值为 True 时,如果在键入时无意中使用了 Caps Lock(大写锁定)键,Word 就将自动进行更正。只在 Windows 中才有效。Boolean 类型,可读写。

示例

本示例将查看是否设置了 Word 可自动更正无意中按下 Caps Lock(大写锁定)键所产生的错误的功能。

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