Application.CapsLock Property (Word)

True if the CAPS LOCK key is turned on. Read-only Boolean.

Syntax

expression .CapsLock

expression A variable that represents an Application object.

Example

This example retrieves the current state of the CAPS LOCK key.

Dim blnCapsLock As Boolean 
 
blnCapsLock 
= Application.CapsLock

See Also

Concepts

Application Object Members

Application Object