Form Button - Changing Text

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

Guest

I have placed a button on the sheet using the button on the forms toolbar.
When adding to the click property it is named button1. It does not function
the same way as a commandbutton, and I cannot find how to change the caption
with text. Can anyone help?
 
Right-click the button and choose Edit Text from the pop-up menu and type in
the caption of the button. If you're trying to do this with code, use
something like

Dim WS As Worksheet
Set WS = Worksheets("Sheet1")
WS.Buttons("Button 1").Caption = "Some New Text"


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)
 
It was with code. My message wasn't very clear. Thanks for the help.
 

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