+ Reply to Thread
Results 1 to 6 of 6

Controlling MS Outlook via Excel & VBA

  1. #1
    Registered User
    Join Date
    11-26-2009
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2019
    Posts
    46

    Controlling MS Outlook via Excel & VBA

    Hello forum

    I'd like to control MS Outlook via Excel & VBA.

    I've been asked to help an animal welfare association with a way to automate emails to their members.

    When the membership of each member is about to run out they want an automated emailnotification to be sent to the specific member (each member may have different dates for their membership expiration date)

    The list of members can be controlled via Excel and when members have paid it can be 'checked' in the excelsheet

    Is this possible?
    Last edited by Kim1974; 08-30-2011 at 01:30 PM.

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Controlling MS Outlook via Excel & VBA

    Hi Kim1974

    Yes it's possible. Please post a sample file that has the same structure as your actual file and I'll demonstrate the code.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Controlling MS Outlook via Excel & VBA

    Hi Kim,

    Do any of these help?
    http://www.codeforexcelandoutlook.co...il-from-excel/
    http://www.rondebruin.nl/sendmail.htm
    http://www.exceltip.com/st/Control_O...Excel/464.html
    http://www.*****-clicks.com/excel/olAutomating.htm
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    11-26-2009
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2019
    Posts
    46

    Re: Controlling MS Outlook via Excel & VBA

    Hello jaslake

    Thank you for your response

    I've attached a spreadsheets showing how the members list could look (i haven't got the actual members list yet)

    MarvinP:
    Thank you for your response too

    I'll have a look at your links
    Attached Files Attached Files

  5. #5
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Controlling MS Outlook via Excel & VBA

    Hi Kim

    This code is in the attached
    Please Login or Register  to view this content.
    It will send a rather simple message to any member whose expiration date is within 30 days or more than today's date. Play with it...if you need help let me know.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    11-26-2009
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2019
    Posts
    46

    Re: Controlling MS Outlook via Excel & VBA

    Thank you very much for your effort jaslake.

    It is appreciated

    Kind regards

+ 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