+ Reply to Thread
Results 1 to 4 of 4

Send automatic emails from excel.v2

  1. #1
    Registered User
    Join Date
    09-02-2011
    Location
    Liverpool, england
    MS-Off Ver
    Excel 2003
    Posts
    32

    Send automatic emails from excel.v2

    Afternoon,

    Can anyone please look at the attached workbook and figure out why the it won't send the email? (please ensure you change email address before testing). I have it working on another sheet but since I have added new columns (I have changed code to) it will no longer work, any help much appreciated.

    Many thanks
    Jason
    Contract expiry test.v2.xls

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Send automatic emails from excel.v2

    Hi,

    In your CheckForExpiryDates procedure you are passing the Column M reminder date as the first parameter in the Call SendMail procedure.
    The Offset which sets the email should be 11 not 12.

    Regards
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    09-02-2011
    Location
    Liverpool, england
    MS-Off Ver
    Excel 2003
    Posts
    32

    Re: Send automatic emails from excel.v2

    Thanks Richard......what an idiot, I've been staring at it that long I failed to spot a very simple mistake! Much appreciated....

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Send automatic emails from excel.v2

    Been there, got the T shirt.....many times

+ 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