KeyName Function

Syntax:

KeyName(Key)

Group:

Miscellaneous

 

Description:

 

Return the key name for a key number. This is the name used by SendKeys.

 

Parameter

Description

Key

Key number.

 

See Also:

SendKeys.

 

Example:

Sub Main
  Debug.Print KeyName(&H270) '"^{F1}"
End
Sub