CapsLock Property

Applies To

Application object.

Description

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

See Also

NumLock property.

Example

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

theState = Application.CapsLock