using vba to change command button caption

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to know how to use vba to change the caption in a command button on an
excel spreadsheet. Any assistance would be appreciated.

Paula
 
Assuming you know how to get to the code window, the code would be:

commandbutton1.caption = "xxxxxxxxx"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top