Ken said:
The OlFlagStatus enum is olNoFlag (0), olFlagComplete (1) and
olFlagMarked (2).
Process for what? Why does unread or read have anything to do with the
flag status? As Alan mentioned you can use the Unread property if you
want to know read/unread status.
Thanks Ken & Mark.
Sorry about the confusion. I shouldn't have mentioned read/unread
status in my original post.
I'm writing some VBA code that will be run from Access and read some
Outlook data. When iterating thru emails I knew about the read/unread
flag. But that wouldn't help me out much because emails I wanted to
process may have/havenot been read. I wanted to look at some other
method to know which emails to process and stumbled across FlagStatus.
It seemed to be a perfect method of determining if something should be
processed...similar to a Yes/No question in a survey. I'm a beginner in
Outlook programming. I'm so new to Outlook I wouldn't even know where
to find your constants you listed above (they weren't in the helpfile).
But since I now have them, I'll use them. Thanks.
One last thing, do you know if FlagStatus has been available in earlier
versions of Outlook...prior to Outlook 2003?