KeyDown Event

B

BobV

Using a form's KeyDown event, I know that I can trap the Alt+F key down
event. But I would like to make the File menu drop down when this key
combination is pressed simultaneously. What is the VBA statement that will
make the File menu drop down when the Alt+F key combination is press
simultaneously?

The reason I am asking this is because I am using the KeyDown event to trap
certain Alt key combinations, and what happens now when the user tries to
use the Alt key to access the menu items (File, Options, Help) is that they
must first press the Alt key then press the F, O, or H key to get the menus
to drop down. I would like to allow the user to press the simultaneous key
combinations (like Alt+F, Alt+O, Alt+H) and have the appropriate menu drop
down.

Thank you,
BobV
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top