#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 137
Default what to use

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default what to use

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

"Brenda" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"