PDA

View Full Version : Can you use variable to change caption on command button



francozola25
08-27-2008, 01:59 PM
Hi
Is there a way of changing the caption value of a command button using a variable value?

Bob Phillips
08-27-2008, 02:29 PM
myVar = "OK Button"
CommandButton1.Caption = myVar