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
    Messages:
    5
    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:
    6,976
    DsW274
    May 28, 2010
  2. Blaine Fredrickson

    Mark mail read via ADO as read

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

    Marco to move files and mark as read

    Guest, Sep 20, 2005, in forum: Microsoft Outlook VBA Programming
    Replies:
    1
    Views:
    344
    Michael Bauer
    Sep 20, 2005
  4. 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,156
    celafon
    Jan 11, 2013
  5. 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,333
    BlueWolverine
    May 28, 2010
Loading...

Share This Page