+ Reply to Thread
Results 1 to 3 of 3

sending a line email after evaluating the lines first cell

  1. #1
    Registered User
    Join Date
    06-12-2012
    Location
    ath
    MS-Off Ver
    Excel 2019
    Posts
    53

    sending a line email after evaluating the lines first cell

    Hi there

    Attached I have a file from which I want to email the line that completes a certain rule.
    The rule is that : at the first column I have set a value from 0 to 3.
    0= NOT SENT YET NEW LINE
    1=line has been sent for its activation
    2=line has been sent for its completion
    3=COMPLETED
    So, when I enter a new line, column A will always has the value 0.
    When I press the email button, it will read all the cell in column A and will evaluate if it is 0. Then it will pick the line and send an email and after the completion, it will set the value of column A at the specific line to 1.
    If I enter the values at cells N , O , P, the value of the A column of the particular line will be set to 2, and if I press the email button it will send the info of that line. After that, it will set the value of column A of that line to 3.

    Now - because every time it will read all the values of the sheet at column A - whenever it finds 0 or 1 or 2 it will send that line to email.

    I hope that it is clear enough what I am trying to achieve here.

    Thanks in advance for your help.

    Note: the sheet will be locked
    Attached Files Attached Files

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: sending a line email after evaluating the lines first cell

    Hello ids_73,

    In your write-up, is the status number 2 added by you when you add the values to the cells in columns N, O, and P or do you want the macro to do this for you?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    06-12-2012
    Location
    ath
    MS-Off Ver
    Excel 2019
    Posts
    53

    Re: sending a line email after evaluating the lines first cell

    hi there
    the change of the status to 2 will be done by me

+ 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. [SOLVED] Sending an email based on cell value
    By fjest004 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-22-2015, 02:11 PM
  2. [SOLVED] Keeping break lines from textbox when sending email
    By DreamEyes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-22-2014, 05:16 PM
  3. [SOLVED] Sending email to different people based on the value in a cell
    By subbby in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-18-2013, 11:53 AM
  4. Replies: 8
    Last Post: 05-17-2013, 01:53 AM
  5. creating a macro to use cell content as subject line in sending email - protected sheet
    By John Eathorne in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-18-2013, 05:06 PM
  6. Sending Email with email address in cell 22
    By albert28 in forum Excel General
    Replies: 1
    Last Post: 01-19-2012, 11:24 AM
  7. Evaluating Array Formula in VBA and sending Results Only to Spreadsheet
    By NBVC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-13-2009, 09:20 AM

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