what to use

  • Thread starter Thread starter Brenda
  • Start date Start date
B

Brenda

I am working in excel and i if i wanted to send this file to someone and i
would like for them to click a button of some sort once they click on the
button it will display a message to them how do i do this?--
Thank you, Brenda
 
Insert a button on the worksheet from the control tool box by clicking on
button and drawing it on the worksheet
Right-Click on the button and choose view code
add the line
MsgBox "Replace this with your message"
between
Private Sub CommandButton1_Click()
End Sub
Exit Design Mode

Sub MacroForButton()
MsgBox "Replace this with your message"
End Sub
 

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