Application.CapsLock Property (Word)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

expression .CapsLock

expression A variable that represents an Application object.

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

Dim blnCapsLock As Boolean 
= Application.CapsLock