
SendKeys & the numeric keypad
Have a look in help, search for 'Keycode constants' (or just use the ones below :-))
vbKeyNumpad0 0x60 0 key
vbKeyNumpad1 0x61 1 key
vbKeyNumpad2 0x62 2 key
vbKeyNumpad3 0x63 3 key
vbKeyNumpad4 0x64 4 key
vbKeyNumpad5 0x65 5 key
vbKeyNumpad6 0x66 6 key
vbKeyNumpad7 0x67 7 key
vbKeyNumpad8 0x68 8 key
vbKeyNumpad9 0x69 9 key
Jacques
I am trying to send numeric keystrokes to an application
that distinguishes between the numbers on the main part of
the keyboard and those on the numeric keypad. Does anyone
know of a way to send the numbers from the keypad?
(My application is a phone dialer and the numbers sent
with Sendkeys choose a line number as opposed to dialing a
number for which you need to use the keypad.) If not
Sendkeys, is there an API function?