filter and mark as read items

Discussion in 'Microsoft Outlook VBA Programming' started by sal21, May 24, 2012.

  1. sal21

    sal21

    Joined:
    Sep 1, 2005
    Likes Received:
    0
    Code:
    ...
    Set objItms = objFld.Items.Restrict("@SQL=" & Chr(34) & "urn:schemas:httpmail:subject" & Chr(34) & _
    " Like '%" & TEST & "%' ")
    ....
    
    i use this filter to check eamil in outlook folder.

    if the fileter condition is true how to mark as read the eamil?
    and
    How to know the sender date of filtered e amil?
     
    sal21, May 24, 2012
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MktTrader

    Error: "Cannot mark the items read or unread."

    MktTrader, Sep 30, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    1
    Views:
    8,903
    DsW274
    May 28, 2010
  2. Philip Brown

    Mark junk items as unread

    Philip Brown, Oct 16, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    5
    Views:
    955
    rpfields
    Mar 2, 2004
  3. Blaine Fredrickson

    Mark mail read via ADO as read

    Blaine Fredrickson, Oct 25, 2003, in forum: Microsoft Outlook VBA Programming
    Replies:
    0
    Views:
    415
    Blaine Fredrickson
    Oct 25, 2003
  4. Guest

    Marco to move files and mark as read

    Guest, Sep 20, 2005, in forum: Microsoft Outlook VBA Programming
    Replies:
    1
    Views:
    442
    Michael Bauer
    Sep 20, 2005
  5. ajkessel@gmail.com

    VBA to move outbound email and mark as read?

    ajkessel@gmail.com, Apr 19, 2006, in forum: Microsoft Outlook VBA Programming
    Replies:
    12
    Views:
    2,621
    celafon
    Jan 11, 2013
  6. AzDayton

    Filter to Mark Completed

    AzDayton, Aug 12, 2008, in forum: Microsoft Outlook VBA Programming
    Replies:
    2
    Views:
    423
    AzDayton
    Aug 14, 2008
  7. BlueWolverine

    Move Sent Email to archival pst folder and mark as read - HOW TO

    BlueWolverine, May 20, 2010, in forum: Microsoft Outlook VBA Programming
    Replies:
    2
    Views:
    2,733
    BlueWolverine
    May 28, 2010
  8. solidshaz

    Mark as read, flag and subject line change 'macro' - Outlook 2002

    solidshaz, Jun 7, 2010, in forum: Microsoft Outlook VBA Programming
    Replies:
    0
    Views:
    1,266
    solidshaz
    Jun 7, 2010
Loading...