Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
gbeard
 
Posts: n/a
Default Change caption on a macro button

I've placed a macro command button on a sheet and Bernie helped me make this
single button do what I thought would take 4 buttons. Now this is the only
button I need and I need to change the caption. I can't find where I change
the properties of the command button. Can someone point me in the right
direction?
Thanks,

--
Gary Beard


  #2   Report Post  
Harald Staff
 
Posts: n/a
Default

Hi Gary

It's the caption property:

Private Sub CommandButton1_Click()
CommandButton1.Caption = "You touched me there at " & Time
End Sub

HTH. best wishes Harald

"gbeard" skrev i melding
...
I've placed a macro command button on a sheet and Bernie helped me make

this
single button do what I thought would take 4 buttons. Now this is the

only
button I need and I need to change the caption. I can't find where I

change
the properties of the command button. Can someone point me in the right
direction?
Thanks,

--
Gary Beard




  #3   Report Post  
gbeard
 
Posts: n/a
Default

Thanks Harald,
Isn't there a way to change the properties like size, background color,
foreground color, caption etc...in a properties box?

Thanks again,
Gary Beard


  #4   Report Post  
Harald Staff
 
Posts: n/a
Default

Hi Gary

Yes, Rightclick it, choose Properties.
There is also a Properties button on the controls toolbox, a little hand
holding a white card.

HTH. best wishes Harald

"gbeard" skrev i melding
...
Thanks Harald,
Isn't there a way to change the properties like size, background color,
foreground color, caption etc...in a properties box?

Thanks again,
Gary Beard




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
2 part question - macro / command button John Excel Discussion (Misc queries) 3 April 16th 05 09:00 PM
how do i change the expense statement template macro Mad2691 Excel Worksheet Functions 1 January 28th 05 01:21 PM
How to assign a macro to a commnd button Mickey Blue Eyes Excel Discussion (Misc queries) 2 January 4th 05 02:15 PM
Where to stick macro to change default comment font? [email protected] Excel Discussion (Misc queries) 1 January 1st 05 12:57 AM
Macro button colour change??? Beefyme Excel Worksheet Functions 1 November 19th 04 06:15 PM


All times are GMT +1. The time now is 06:07 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"