View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default commandbutton text/assigning sounds

Hi Bishop

I remember. Then why dont you try Keycode itself. Check the 2nd reply to
your previous post.

If this post helps click Yes
---------------
Jacob Skaria


"Bishop" wrote:

I thought about that but that requires the use of the Alt key. I have a
userform with 15 or so commandbuttons and any 10 of those will have to be
selected, say. That means I'd have to press Alt each time I want to select a
button. I wanted to stick with the ability to just press a single key (like
the code you suggested yesterday) to make the userform more efficient.

"Jacob Skaria" wrote:

Use the Accelerator property of your command button and type 3.
--
If this post helps click Yes
---------------
Jacob Skaria


"Bishop" wrote:

My first question: Can I underline just one letter in a word on a
commandbutton? So say I have the word "PG-13" and I just want the 3
underlined. Is this possible?

Second question: Can I assign a .wav (or similar soundbit) to a button so
that when the button is pushed or activated that sound will play?