Keycode values

marathonlady

Registered User.
Local time
Today, 12:22
Joined
Jul 10, 2002
Messages
120
Does anyone have a list of the keycode values, ie, Keydown is 13, keyup is ???

Thanks in advance.
 
Is something wrong with you Access Help Files? Just type Keycodes in, whilst in a module, and you'll get all the Keycode constants.
 
I want the values of the constants.

I want the values of the constants, ie, vbKeyDown = 13.

Mile-O-Phile said:
Is something wrong with you Access Help Files? Just type Keycodes in, whilst in a module, and you'll get all the Keycode constants.
 
If you're asking again, there must be something wrong with your help file. I would try uninstalling and then reinstalling Office. Here's the first few lines, direct from help.

Code:
Keycode Constants
   

The following constants can be used anywhere in your code in place of the actual values:

Constant Value Description 
vbKeyLButton 0x1 Left mouse button 
vbKeyRButton 0x2 Right mouse button 
vbKeyCancel 0x3 CANCEL key
 
I'll just add a comment to this post. When I was trying to find keycode constants using the help, I discovered that you had to be in the VBA Help, not the Regular Access Help. If you click on help while you are in VB you will be able to search KeyCode Constants.
 

Users who are viewing this thread

Back
Top Bottom