Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 169
Default hotkey for command button on Excel form

I have an Excel form that I am using for data entry. On the form, I have
several command buttons that I want to assign hotkeys to, but the standard of
setting the caption with an ampersand before the character does not seem to
work. The caption displays the ampersand rather than underlining the
character following the ampersand.

What am I doing wrong?

--
Email address is not valid.
Please reply to newsgroup only.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 396
Default hotkey for command button on Excel form

Hi

You could use the Acclerator property of the buttons.

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Dale Fye" wrote:

I have an Excel form that I am using for data entry. On the form, I have
several command buttons that I want to assign hotkeys to, but the standard of
setting the caption with an ampersand before the character does not seem to
work. The caption displays the ampersand rather than underlining the
character following the ampersand.

What am I doing wrong?

--
Email address is not valid.
Please reply to newsgroup only.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 169
Default hotkey for command button on Excel form

Thanks. Worked just like I wanted it to, although I have a Find button and
it didn't like the "F". Any particular reason for that?

--
Email address is not valid.
Please reply to newsgroup only.


"Wigi" wrote:

Hi

You could use the Acclerator property of the buttons.

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Dale Fye" wrote:

I have an Excel form that I am using for data entry. On the form, I have
several command buttons that I want to assign hotkeys to, but the standard of
setting the caption with an ampersand before the character does not seem to
work. The caption displays the ampersand rather than underlining the
character following the ampersand.

What am I doing wrong?

--
Email address is not valid.
Please reply to newsgroup only.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 373
Default hotkey for command button on Excel form

You probably have already another control with F as the accelerator key.
Note that the accelerator is case sensitive. You can use F for one control
and f for another. James

"Dale Fye" wrote in message
...
Thanks. Worked just like I wanted it to, although I have a Find button
and
it didn't like the "F". Any particular reason for that?

--
Email address is not valid.
Please reply to newsgroup only.


"Wigi" wrote:

Hi

You could use the Acclerator property of the buttons.

--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Dale Fye" wrote:

I have an Excel form that I am using for data entry. On the form, I
have
several command buttons that I want to assign hotkeys to, but the
standard of
setting the caption with an ampersand before the character does not
seem to
work. The caption displays the ampersand rather than underlining the
character following the ampersand.

What am I doing wrong?

--
Email address is not valid.
Please reply to newsgroup only.



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
User form and Command button Marilyn Excel Discussion (Misc queries) 3 May 9th 07 12:50 AM
Form Command Button Problem.. Don Excel Programming 3 July 8th 06 02:17 AM
Command Button vs Form Button Bri[_3_] Excel Programming 2 February 3rd 06 08:18 AM
Access data form through command button aet-inc Excel Programming 2 December 2nd 03 09:41 PM
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 12:11 PM.

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"