NumLock Property

Applies To

Application object.

Description

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

See Also

CapsLock property.

Example

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

theState = Application.NumLock