+ Reply to Thread
Results 1 to 2 of 2

Macro to send email to designated address when an action occurs

  1. #1
    Registered User
    Join Date
    12-14-2013
    Location
    edo,nigeria
    MS-Off Ver
    Excel 2007
    Posts
    85

    Macro to send email to designated address when an action occurs

    Workbook is attached below.

    I need a macro which will send email to a specified address when

    1. A new user is added. Users will be added with a userform
    When a new user is added, the email should look like; Dear admin, Michael Okwoche with userID:12345 has been registered on 28/5/2016 10:56:37 PM

    2. When a receipt is recorded using the userform.

    When a new receipt is printed, the message should read; Dear admin, Michael Okwoche with userID: 12345 used a total of 4 credits on 28/8/2016 10:56:37 PM

    3. When a user is Topped up using the userform.
    When a user is "topped up", the message should read; Dear Admin, Michael Okwoche with user ID 12345 has been reloaded with 5 credits

    4. When a credit transfer is made using the userform.

    When a credit transfer is made to another user, the message should read; Dear user, Michael Okwoche with user ID 12345 has received 5 credits transfer from User 48956:

    Note: The values I used in the email messages are just examples and will be dependent on the entries made using the userform.

    All userforms can be found when the "Main Menu" button is clicked.


    Thanks for your time. Workbook is attached below.
    Attached Files Attached Files

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Macro to send email to designated address when an action occurs

    Not sure if this will get you to the end, but, it might get you started in the right direction..
    http://www.rondebruin.nl/win/s1/outlook/mail.htm
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro To Send Individual sheets To Different Email Address Based On Sheet Name
    By markusvirus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-23-2016, 05:29 PM
  2. Macro to automatically send screenshot to an email address if cell criteria are met
    By zeegerman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-22-2015, 01:10 PM
  3. [SOLVED] Macro to send an email to more that one email address in the same row
    By eddyrcabrera79 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-26-2015, 08:51 AM
  4. Macro to send individual tabs from a worksheet to different email address based on in
    By mikeyexcel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-30-2014, 07:46 PM
  5. Replies: 11
    Last Post: 05-26-2013, 07:45 AM
  6. Replies: 6
    Last Post: 12-02-2011, 02:14 PM
  7. macro to send excel sheet to specific email address
    By JonnieP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-27-2005, 06:10 PM

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