View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
PCLIVE PCLIVE is offline
external usenet poster
 
Posts: 1,311
Default 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