Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForm CommandButton Caption
In UserForm3 I have a CommandButton named "M1". Is there a way that I can
use code to set the caption of that button? example. UserForm3.M1.Caption = "4" This does not work. Can this be done? Thanks, Paul |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForm CommandButton Caption
Userform3.Controls("M1").Caption = "4"
-- --- HTH Bob (change the xxxx to gmail if mailing direct) "PCLIVE" wrote in message ... In UserForm3 I have a CommandButton named "M1". Is there a way that I can use code to set the caption of that button? example. UserForm3.M1.Caption = "4" This does not work. Can this be done? Thanks, Paul |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForm CommandButton Caption
UserForm1.M1.Caption = Sheet1.Range("A1").Value' Or what ever value you want
"PCLIVE" wrote in message ... In UserForm3 I have a CommandButton named "M1". Is there a way that I can use code to set the caption of that button? example. UserForm3.M1.Caption = "4" This does not work. Can this be done? Thanks, Paul |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
UserForm CommandButton Caption
Thanks Bob. That gets me started.
"Bob Phillips" wrote in message ... Userform3.Controls("M1").Caption = "4" -- --- HTH Bob (change the xxxx to gmail if mailing direct) "PCLIVE" wrote in message ... In UserForm3 I have a CommandButton named "M1". Is there a way that I can use code to set the caption of that button? example. UserForm3.M1.Caption = "4" This does not work. Can this be done? Thanks, Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
CommandButton Caption Anomily | Excel Programming | |||
Commandbutton caption change | Excel Programming | |||
CommandButton caption title | Excel Programming | |||
Change CommandButton Caption | Excel Programming | |||
CommandButton.Caption | Excel Programming |