Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a button and want to create a shortcut keystroke. I VB if you go
&Button you would get an Underlined B and be able to ALT B and vola. I Go to my command button and go to the Button name and &Button and I get &Button. No shortcut / Key stroke. How can I accomplish this feat or is it something I need to code within Excel? If so How do I go about that? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
For command buttons made from the Controls Toolbox there is an Accelerator
property that can be set to do what you want. However, I know of no way to do this for a Forms button (unless you trap the keystrokes and code it all yourself). "Dan" wrote: I have a button and want to create a shortcut keystroke. I VB if you go &Button you would get an Underlined B and be able to ALT B and vola. I Go to my command button and go to the Button name and &Button and I get &Button. No shortcut / Key stroke. How can I accomplish this feat or is it something I need to code within Excel? If so How do I go about that? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
NeverMind I got it Thanks
"Dan" wrote: I have a button and want to create a shortcut keystroke. I VB if you go &Button you would get an Underlined B and be able to ALT B and vola. I Go to my command button and go to the Button name and &Button and I get &Button. No shortcut / Key stroke. How can I accomplish this feat or is it something I need to code within Excel? If so How do I go about that? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The Accelerator property of the command button should get you the result you
seek. |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You have to set it with the caption property of the button.
-- HTH Bob Phillips "Dan" wrote in message ... I have a button and want to create a shortcut keystroke. I VB if you go &Button you would get an Underlined B and be able to ALT B and vola. I Go to my command button and go to the Button name and &Button and I get &Button. No shortcut / Key stroke. How can I accomplish this feat or is it something I need to code within Excel? If so How do I go about that? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
what is the shortcut for 1/2 using the Alt button ? | Excel Discussion (Misc queries) | |||
Shortcut menu won't appear when I click right mouse button. | Excel Discussion (Misc queries) | |||
Button / Shortcut to extranal file's macro? | Excel Discussion (Misc queries) | |||
Save button-shortcut | Excel Worksheet Functions | |||
Shortcut Keystroke for the AutoSum button or Sum function? | Excel Discussion (Misc queries) |