checkbox activation

B

burksmg

How could I activate/de-activate a checkbox in a user form from the
keyboard (i.e. without needing to click in it with the mouse)... maybe
by pressing "X" or using the enter key to activate and either toggel it
with those same keys or use the spacebar to de-activate?
 
G

Guest

The form object can respond to events for KeyPress, KeyDown, and KeyUp.
Write code in one of those for your "hot key" to change the checkbox as
desired.

Steve in Ohio
 

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