NumLock Property

Microsoft Word Visual Basic

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