KeyName Function

Syntax
KeyName(Key)
Group
Miscellaneous
Description
Return the key name for a key number. This is the name used by SendKeys.
Parameters Description
Key Key number.
See Also
SendKeys

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