NumLock Property

Returns the state of the NUM LOCK key. True if the keys on the numeric keypad insert numbers, False if the keys move the insertion point. Read-only Boolean.

expression.NumLock

expression Required. An expression that returns an Application object.

Example

This example returns the current state of the NUM LOCK key.

theState = Application.NumLock

Applies to | Application Object

See Also | CapsLock Property