Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendkeys and the numeric keypad

Status
Not open for further replies.

gusset

Technical User
Mar 19, 2002
251
GB
do you know how to ensure that sendkeys operates the numeric keypad? if i could do this it would be the quickest way for my application to achieve various ALT+number combinations in producing special characters in Word.

anyone?
 
In module view, press F2 to get the object browser and do a search on KeyCodeConstants which will show you a list of enumerated constansts for all of the keyboard keys (anykey is missing however). The ones you want are vbKeyNumpad0, vbKeyNumpad1, etc.

Good Luck!

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top