+ Reply to Thread
Results 1 to 5 of 5

Send an email at pop up message

  1. #1
    Registered User
    Join Date
    07-04-2011
    Location
    Adealaide
    MS-Off Ver
    Excel 2007
    Posts
    4

    Send an email at pop up message

    Hi, i have a macro that opens a pop up message to alert me when an SOP is due to be reviewed, what i would like it to do is also send an email as well as having the pop up message. I would like the email to send the same text as the message pop up. Pretty new to VBA so any help at all would be appreciated.

    Here is what i have so far which i found on the net and modified to suit my spreadsheet.
    Please Login or Register  to view this content.
    I've tried modifying some email code i have found but with no luck.
    Last edited by romperstomper; 07-05-2011 at 03:40 AM. Reason: add tags and mark solved

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Send an email at pop up message

    What code have you tried modifying and what went wrong?
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-04-2011
    Location
    Adealaide
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Send an email at pop up message

    Quote Originally Posted by JBeaucaire View Post
    What code have you tried modifying and what went wrong?
    found some email code on Ron de Bruins site which i tred modifying and then inserting after the msg box code but without any luck.

  4. #4
    Registered User
    Join Date
    07-04-2011
    Location
    Adealaide
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Send an email at pop up message

    Hi, just to update i have managed to get it to send an email after the pop up msg but i am getting the outlook security alert message first before the email will send. Is there a simple way to stop that.
    Here's my code as it looks now.
    Please Login or Register  to view this content.
    Last edited by romperstomper; 07-05-2011 at 03:40 AM.

  5. #5
    Registered User
    Join Date
    07-04-2011
    Location
    Adealaide
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Send an email at pop up message

    Solved.

    Found a way to work around it using Express Clickyes. The macro opens then closes clickyes so its not always running. Was fairly simple in the end if you don't mind downloading the program.

    here's my code now.
    Please Login or Register  to view this content.
    Many Thanks to those whose code i've found on the net and appropriated to get this to work.
    Last edited by romperstomper; 07-05-2011 at 03:41 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1