Writing to Outlook Object

  • Thread starter Thread starter Anthony Yio
  • Start date Start date
A

Anthony Yio

Hello,

I am not sure if my question make sense to you all, if there are better
approaches than this.
How do I write extra information into MAPIFolder objects, outlook items like
Task Item, Notes item, Contact Item and etc ,which eventually will be saved
into the *.PST file. I need to somehow place in a ID for each of these
items.

I found this MAPIFolder - Description property in the Outlook Reference but
I found that this description property could be changed by the user in the
Outlook itself which is unacceptable in my case. I need the property to be
inaccessible from the user but accessible throught the VBA. Also, the
description property is only for MAPIFolder object, I need to place into
outlook items as well.

Any suggestions?

thank you
 
See MailItem.UserProperties collection (also available on other Outlook
items, e.g. ContactItem, but not on MAPIFolder).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Back
Top