CallByName Button Caption
Posted on 2004-09-09
Can someone tell me how to use callbyname to set the caption on a button. I want to pass in a string indicating the button name.
I found this, but I don't want to pass in the control, I want to pass in "Command1"
CallByName Command1, "Caption", VbLet, "OK"