Share via


Application.NumLock Property

Word Developer Reference

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.

Syntax

expression.NumLock

expression   An expression that returns an Application object.

Example

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

Visual Basic for Applications
  theState = Application.NumLock

See Also