+ Reply to Thread
Results 1 to 5 of 5

Help With VBA Email

  1. #1
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Help With VBA Email

    HI,

    I’m wouldn’t even call myself a novice at VBA, but I think the below will be able to be done.

    I have a spread sheet (Attached)

    Cell A (Start Date)
    Cell B (Today Date Formula)
    Cell C (Amount of Working Days Between the Two Dates Using Networkingdays Formula)
    Cell D (Job Number Will need to be sent in the email)
    Cell E (Client Will Need To Be Sent In The Email)
    Cell F ( Coordinators Name)
    Cell G (Coordinators Email, Which The VBA Should Send It To)

    What would be ideal is that when column C goes down to two working days it to send an email to the coordinator email address in col, saying something roughly like Job number “50245875” for “Client 1” you need to responded to the client as it is going over due.

    Do you think this is possible or something similar.

    Thanks
    Attached Files Attached Files

  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: Help With VBA Email

    Hi,

    One way. You'll need to decide what event you want to use to trigger this.

    Please Login or Register  to view this content.
    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
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Help With VBA Email

    Thanks Richard for the above,

    I'm not sure what you mean by what event you would want to trigger this ??

    Thanks

  4. #4
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Help With VBA Email

    Does anyone have any Ideas????

  5. #5
    Forum Contributor
    Join Date
    11-08-2011
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Help With VBA Email

    HI,

    I managed to figure out the event trigger,

    But when I put in multiple rows it comes up with a bug please see the attached image,

    debug.docx


    I have also attached the document I'm working on.

    Thansk
    Attached Files Attached Files

+ 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