Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default checkbox activation


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?


--
burksmg
------------------------------------------------------------------------
burksmg's Profile: http://www.excelforum.com/member.php...o&userid=16744
View this thread: http://www.excelforum.com/showthread...hreadid=319468

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 34
Default checkbox activation

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

"burksmg" wrote:


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?


--
burksmg
------------------------------------------------------------------------
burksmg's Profile: http://www.excelforum.com/member.php...o&userid=16744
View this thread: http://www.excelforum.com/showthread...hreadid=319468


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
activation key LewisT Excel Discussion (Misc queries) 2 March 24th 10 05:27 AM
UserForm Activation Doug[_9_] Excel Programming 6 January 14th 04 09:36 AM
On Edit activation tjb21045 Excel Programming 3 December 15th 03 11:19 PM
program activation Lawson Excel Programming 2 October 30th 03 02:34 PM
Ctl-X activation of macros John Baker Excel Programming 1 October 17th 03 09:24 PM


All times are GMT +1. The time now is 05:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"