+ Reply to Thread
Results 1 to 1 of 1

Macro to send two different mail when a cell reaches two different values.

  1. #1
    Registered User
    Join Date
    04-24-2013
    Location
    Italy
    MS-Off Ver
    Excel 2010
    Posts
    3

    Cool Macro to send two different mail when a cell reaches two different values.

    Hello.
    Excuse me for my english.

    I have necessity to use a specific Macro for to send two different automatic e-mail when a range of cells reaches two or more different provided values.

    Now I used the Codes solution like Macro attached, composed by:

    1. Private Sub Worksheet_Calculate()
    2. Sub Mail_with_outlook1()

    The macro above only allows to send a specific e-mail ( see Sub Code Sub Mail_with_outlook1 () ) to one of the addresses registered in the cells of column "AF".
    This happens when the value of the corresponding cell of the range "AE10: AE104" will be equal to 1 (see MyLimit = 1).

    I would like to complete the above macro so that enable the sending of a different e-mail to one of corresponding addresses registered in the column "AF".
    This should happen when the value of any one cell of the range "AE: AE104" will be equal to 2 (MyLimit = 2).

    I thank you very much and look forward to your kind reply.



    Frankito M. Italy
    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