harpreetgujral
New Member
- Joined
- Oct 30, 2010
- Messages
- 6
Hi,
What would be the procedure to change the caption of the command button created through Forms and Control Toolbox?
Example:
I created a Command Button on Sheet named data through the Forms Toolbar. I can use the following code to change the caption of the command button:
ActiveSheet.Shapes("CmdNavigation").Select
With Selection
.Caption = "Activate Navigation"
End With
However, how can we change the capion of a Command Button created through a ActiveX Toolbar?
Thanks for your suggestions
What would be the procedure to change the caption of the command button created through Forms and Control Toolbox?
Example:
I created a Command Button on Sheet named data through the Forms Toolbar. I can use the following code to change the caption of the command button:
ActiveSheet.Shapes("CmdNavigation").Select
With Selection
.Caption = "Activate Navigation"
End With
However, how can we change the capion of a Command Button created through a ActiveX Toolbar?
Thanks for your suggestions