+ Reply to Thread
Results 1 to 4 of 4

Outlook Email based off different criteria

  1. #1
    Registered User
    Join Date
    12-21-2021
    Location
    Indiana
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    16

    Outlook Email based off different criteria

    So as of right now the spreadsheet should populate an email if the number of occurrences reaches 4 and above and then it returns a "notified" label. The notified label sets the code so that if another person reaches 4 or above then those already notified will not get another email. I would also like to set it up to send another email to those that reach 6 and have already been notified. I can make the macro for the second email it is the code that I cannot figure out.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Outlook Email based off different criteria

    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 12-25-2021 at 01:44 PM.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Registered User
    Join Date
    12-21-2021
    Location
    Indiana
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    16

    Re: Outlook Email based off different criteria

    Quote Originally Posted by AlphaFrog View Post
    Please Login or Register  to view this content.

    I am getting a Object Variable or With Block Variable Not Set message

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Outlook Email based off different criteria

    It works for me without error.
    On the error dialog, click the Debug button. What line is highlighted?

+ 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] Send email with Outlook if met the criteria
    By babychai in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-06-2020, 07:43 AM
  2. Macros to email a row with header based on due date and specific email using outlook
    By mscarrie in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-30-2019, 04:48 AM
  3. Replies: 3
    Last Post: 03-11-2019, 05:31 PM
  4. Replies: 0
    Last Post: 10-03-2017, 08:22 AM
  5. Macro to email excel to outlook based on certain criteria
    By xlhelp7 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-10-2017, 12:02 AM
  6. Send email via Outlook with a criteria
    By matt-43 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-24-2016, 10:38 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