Hi Ken,
Very many thanks.
The field only captures the last action taken.
It was important for me to know that to solve my present problem. Thanks for
that.
You can check for IsEmpty() for fields that may not be there by default.
Where am I going wrong please?
When the PR_LAST_VERB_EXECUTED property does not exist (in the MAPI fields
collection for an Outlook Mailitem), the following code line produces a
run-time error (not as I expected FALSE):
"If IsEmpty(objMAPIFields.item(&H10810003)) Then"
But if I precede the above code line with:
"On Error Resume Next"
then the IsEmpty() function returns TRUE.
How did you mean I should use IsEmpty() please and what's going on above?
Just FMI, where would the following detailed information be stored:
"You replied on 15/10/2006 01:52. Click here to find all related messages."
TIA, Regards
Geoff
"Ken Slovak - [MVP - Outlook]" wrote in message
...
You can check for IsEmpty() for fields that may not be there by default.
There are other verbs that could be there in the field, such as
EXCHIVERB_REPLYTOALL or EXCHIVERB_FORWARD , so check for a value of 102.
EXCHIVERB_REPLYTOALL (103) is set if ReplyToAll was used last,
EXCHIVERB_FORWARD (104) is set if Forward was used last.
The value will change as different actions are taken. If an item was
replied to the field value would be 102. If then you forwarded the same
item it would change to 104. The field only captures the last action
taken.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm