A
Alexander
Hi,
I just added a button to one of my worksheets this way:
ActiveSheet.Buttons.Add(100, 300, 180, 15)
Now I would like to change the caption of the button, but don't know how to
do it. Help and MSDN-Reference don't cover this object or I cannot find it.
I can add an event to my buttons, but cannot change the caption...
ActiveSheet.Shapes(3).OnAction = "SwitchTo_"
ActiveSheet.Shapes(3).Name = "Caption" ' doesn't work
Any suggestions?
Many thanks
Alex
I just added a button to one of my worksheets this way:
ActiveSheet.Buttons.Add(100, 300, 180, 15)
Now I would like to change the caption of the button, but don't know how to
do it. Help and MSDN-Reference don't cover this object or I cannot find it.
I can add an event to my buttons, but cannot change the caption...
ActiveSheet.Shapes(3).OnAction = "SwitchTo_"
ActiveSheet.Shapes(3).Name = "Caption" ' doesn't work
Any suggestions?
Many thanks
Alex