View Single Post
  #2  
Old May 29th 09, 08:00 AM posted to microsoft.public.outlook.program_vba
SvenC[_2_]
external usenet poster
 
Posts: 40
Default Outlook custom properties

Hi Mcafe,

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)


What exactly is your problem? You do not assign a value, is that intended?

myProp.Value = "Hello World"
myItem.Save

--
SvenC

Ads