+ Reply to Thread
Results 1 to 4 of 4

Check dates and then send email to user.

Hybrid View

  1. #1
    Registered User
    Join Date
    09-24-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    30

    Check dates and then send email to user.

    I need to check row records. if an update is older as 1 day, it should send an email to an user with the ticketnumber to action it.

    So button should do this:

    1. Check the rows for dates of old ticketnumbers
    2. If the last update time is older as 1 day
    3. Check which user it is from and find his corresponding email adres in the user list
    4. Send that user an email with the ticketnumber to please action that ticket


    Sheet 'data' Contains rows that look like this:

    A B C D E F
    Opened By | Status | Open Time | Last Update Time | Opened by Group | Agent

    CALL4081833 | AA071 | Open - Callback | 28-7-2012 14:17 | 28-7-2012 14:17 | HELPDESK | Hans
    CALL4103426 | MC0165 | Open - Callback | 14-7-2012 14:17 | 5-10-2012 14:17 | HELPDESK | Althea
    CALL3349244 | SA2973 | Open - Callback | 3-7-2012 14:17 | 10-10-2012 14:17 | HELPDESK | Alex
    CALL3104510 | KO6761 | Open - Callback | 29-7-2012 14:17 | 10-10-2012 14:17 | HELPDESK | Hans
    CALL2944069 | AA071 | Open - Callback | 23-8-2012 14:17 | 9-10-2012 14:17 | HELPDESK | Hans









    Sheet 'Results' Contains rows that look like this:

    A B C
    SA2973 Alex Alex@test.nl
    MC0165 Althea Althea@test.nl
    AA071 Hans Hans@test.nl
    KO6761 Andy Andy@test.nl

    Etc etc

    The agent column on sheet data gets the name from the Results sheet by comparing the user ID.



    So in above example, hans should get two emails, althea one.

    The email should read like this:


    Subject: Update needed for ticket XXXXXXXX (callno there)

    Body: Dear (name),

    Your callback is due for an update. The ticketno is XXXXXXXX (callno there). Please action this ticket as our customer is waiting for an answer to solve his problem.
    Last edited by dutchdog; 10-10-2012 at 03:35 AM. Reason: Editted title.

  2. #2
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: For excell freak: Check a ticket no's last update time, then send email to an user.

    You should upload this sample workbook.
    And why the For excell freak: ? You don't have to be an excel freak to know this.
    Also excel is spelled with one l not 2.

  3. #3
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: For excell freak: Check a ticket no's last update time, then send email to an user.

    @dutchdog,

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  4. #4
    Registered User
    Join Date
    09-24-2012
    Location
    Johannesburg, South Africa
    MS-Off Ver
    Excel 2003
    Posts
    30

    Re: Check dates and then send email to user.

    Sorry not native english. I ammended the title. I thought it was a tricky problem to make. I will see if I can upload a sample workbook stojko.

+ 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