View Single Post
  #6  
Old June 1st 09, 08:49 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Outlook custom properties

What exactly does not work? If you are using Outlook 2007, use
Namespace.OpenSharedItem to open the MSG file.
If you are using and older version of Outlook, you can use plug Redemption
(url) below - use rDOSession.GetMessageFromMsgFile; see
http://www.dimastr.com/redemption/rdo/rdosession.htm /plug
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Mcafe" wrote in message
...
Hi,

is standalone MSG file.


"Dmitry Streblechenko" wrote:

Do you mean a message in one of the Outlook folders or a standalone MSG
file?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Mcafe" wrote in message
...
Hi,

Anyone know how to add custom properties into Outlook [msg file] from
macro?
I already try some solution provided but still not able to solve this
problem.

This are the example code from "http://support.microsoft.com/kb/907985
"

Set myProp = myItem.UserProperties.Add("MyPropName", olText)


I hope someone can help me on this problem. Thank You.

Sorry if someone post this solution before.

Regards,
MC






Ads