Results 1 to 2 of 2
  1. #1
    Bronze Lounger
    Join Date
    Jun 2001
    New York, New York, Lebanon
    Thanked 1 Time in 1 Post

    OUtlook's Message Indexing (OL 2003 and <)

    <img src=/S/hello.gif border=0 alt=hello width=25 height=29> Loungers

    OK when I do something like this:

    For Each oMessage In oFolder.Items

    and I have the messages sorted by date received in my Inbox, and if I do set Unread=False I see that Outlook processes the messages not from top to bottom, but just about haphazardly. <img src=/S/confused.gif border=0 alt=confused width=15 height=20> <img src=/S/dizzy.gif border=0 alt=dizzy width=15 height=15>

    How does Outlook index the messages as they come in?
    Is there a VBA tie into that order? I see Outlook Internal Version, and Outlook Version as fields one can use in a view but they are empty and I am using a new set of messages that I have gotten since yesterday and today?
    Could I use that internal index to locate messages? Say VBA locate message indexed 2420?


    To steal ideas from one person is plagiarism; to steal from many is research.....
    <img src=/S/compute.gif border=0 alt=compute width=40 height=20> in the <img src=/S/bagged.gif border=0 alt=bagged width=22 height=22>

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Salt Lake City, Utah, USA
    Thanked 6 Times in 6 Posts

    Re: OUtlook's Message Indexing (OL 2003 and <)

    I think it's using the order of Item.EntryID to process items in the folder, and I suspect you would generally find that the items tend to be oldest first, because according to the help "EntryID property is not set for an Outlook item until it is saved or sent. Also, the EntryID changes when an item is moved into another folder ...". So EntryID's tend to be set in date order, but get reset if an item is resaved or moved to another folder.
    -John ... I float in liquid gardens
    UTC -7ąDS

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts