次の方法で共有


Application.NumLock Property (Word)

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.

theState = Application.NumLock

See Also

Concepts

Application Object Members

Application Object