Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to tab to a command button?

I have 3 or 4 command buttons(from Forms-toolbar) on my excel
worksheet. I would like to give the user the option of 'clicking' the
command button through the keyboard. At this point, i am able to use
the accelerator key and activate the button. But i would ideally like
them to go to the button using the keyboard and then hit the "enter"
button.
Is there a way to do this. Any help would be greatly appreciated.

Thank you very much,

Sameer
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to tab to a command button?

How would you know that the tab is meant to go to the button as opposed to
go to another cell?

--
Regards,
Tom Ogilvy

"Sameer" wrote in message
m...
I have 3 or 4 command buttons(from Forms-toolbar) on my excel
worksheet. I would like to give the user the option of 'clicking' the
command button through the keyboard. At this point, i am able to use
the accelerator key and activate the button. But i would ideally like
them to go to the button using the keyboard and then hit the "enter"
button.
Is there a way to do this. Any help would be greatly appreciated.

Thank you very much,

Sameer



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to tab to a command button?


That is correct. But say i have a button on a form in cell D4. I would
like to provide a mechanism whereby the cursor moves to the button. So
the cursor could go either behind the button or on the button, depending
on the user's motives..
The accelerator key runs the code behind the button, and i have had
people doing that by accident. Hence, i want them to know whats
happening before they run the code behind the button.

Hope this answers your question.
Thanks
Sameer




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to tab to a command button?

Again, the user would have to indicate his/her motive with some modification
of the normal movement key. If so, then you are back to an accelerator key.
Even if you tabbed to the key, then it sounds like you want the user to make
another over action to execute the key. All this is really outside the
paradigm of windows.

--
Regards,
Tom Ogilvy

"Sameer B" wrote in message
...

That is correct. But say i have a button on a form in cell D4. I would
like to provide a mechanism whereby the cursor moves to the button. So
the cursor could go either behind the button or on the button, depending
on the user's motives..
The accelerator key runs the code behind the button, and i have had
people doing that by accident. Hence, i want them to know whats
happening before they run the code behind the button.

Hope this answers your question.
Thanks
Sameer




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



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
Command Button WLMPilot Excel Discussion (Misc queries) 1 May 8th 10 04:52 AM
command button add another command Wanna Learn Excel Discussion (Misc queries) 5 December 7th 08 11:42 PM
command button help Lion Excel Discussion (Misc queries) 0 October 22nd 08 06:10 PM
Command Button vs Control Button RGibson Excel Programming 1 October 14th 03 02:24 AM
Command Button vs Form Button T K Excel Programming 4 August 26th 03 07:26 PM


All times are GMT +1. The time now is 08:19 AM.

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

About Us

"It's about Microsoft Excel"