#1   Report Post  
ynissel
 
Posts: n/a
Default Macro message box

How do I get my macro to pop up a message box that says "your email has been
sent" and just an OK button to continue ?
Thanks
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

msgbox "Your email has been sent", vbInformation

It5 also shows one of those information buttons.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
How do I get my macro to pop up a message box that says "your email has

been
sent" and just an OK button to continue ?
Thanks



  #3   Report Post  
ynissel
 
Posts: n/a
Default

Bob,
Great - thanks, worked like a charm !
Can I spiff it up - like input the users name from a specific cell (a1) into
the statement ?
Yosef

"Bob Phillips" wrote:

msgbox "Your email has been sent", vbInformation

It5 also shows one of those information buttons.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
How do I get my macro to pop up a message box that says "your email has

been
sent" and just an OK button to continue ?
Thanks




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Of course

Msgbox Range("A1").Value & "', your email has been sent", vbInformation

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
Bob,
Great - thanks, worked like a charm !
Can I spiff it up - like input the users name from a specific cell (a1)

into
the statement ?
Yosef

"Bob Phillips" wrote:

msgbox "Your email has been sent", vbInformation

It5 also shows one of those information buttons.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
How do I get my macro to pop up a message box that says "your email

has
been
sent" and just an OK button to continue ?
Thanks






  #5   Report Post  
ynissel
 
Posts: n/a
Default

Thanks !

"Bob Phillips" wrote:

Of course

Msgbox Range("A1").Value & "', your email has been sent", vbInformation

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
Bob,
Great - thanks, worked like a charm !
Can I spiff it up - like input the users name from a specific cell (a1)

into
the statement ?
Yosef

"Bob Phillips" wrote:

msgbox "Your email has been sent", vbInformation

It5 also shows one of those information buttons.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
How do I get my macro to pop up a message box that says "your email

has
been
sent" and just an OK button to continue ?
Thanks








  #6   Report Post  
blonde1030
 
Posts: n/a
Default

Hi Bob, jumping in here too: Do you know how to make a msgbox popup
automatically upon opening the file?

"Bob Phillips" wrote:

Of course

Msgbox Range("A1").Value & "', your email has been sent", vbInformation

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
Bob,
Great - thanks, worked like a charm !
Can I spiff it up - like input the users name from a specific cell (a1)

into
the statement ?
Yosef

"Bob Phillips" wrote:

msgbox "Your email has been sent", vbInformation

It5 also shows one of those information buttons.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
How do I get my macro to pop up a message box that says "your email

has
been
sent" and just an OK button to continue ?
Thanks






  #7   Report Post  
Bob Phillips
 
Posts: n/a
Default

Yes, put it in a macro called Auto_Open, or add it to the Workbook_Open
event in the ThisWorkbook code module.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"blonde1030" wrote in message
...
Hi Bob, jumping in here too: Do you know how to make a msgbox popup
automatically upon opening the file?

"Bob Phillips" wrote:

Of course

Msgbox Range("A1").Value & "', your email has been sent",

vbInformation

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
Bob,
Great - thanks, worked like a charm !
Can I spiff it up - like input the users name from a specific cell

(a1)
into
the statement ?
Yosef

"Bob Phillips" wrote:

msgbox "Your email has been sent", vbInformation

It5 also shows one of those information buttons.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ynissel" wrote in message
...
How do I get my macro to pop up a message box that says "your

email
has
been
sent" and just an OK button to continue ?
Thanks








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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro won't run macro dave glynn Excel Discussion (Misc queries) 0 May 3rd 05 04:13 PM
Calculations And Order In Macros Carl Bowman Excel Discussion (Misc queries) 4 February 23rd 05 10:53 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Zip Code Macro Ken Wright Excel Worksheet Functions 0 December 9th 04 07:55 AM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 04:46 PM


All times are GMT +1. The time now is 12:11 PM.

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

About Us

"It's about Microsoft Excel"