CapsLock Property
True if the CAPS LOCK key is turned on. Read-only Boolean.
Example
This example retrieves the current state of the CAPS LOCK key.
Dim blnCapsLock As Boolean
blnCapsLock= Application.CapsLock
Applies to | Application Object
See Also | NumLock Property