View Single Post
  #1  
Old January 10th 07, 10:22 AM posted to microsoft.public.outlook.program_vba
MeAgin
external usenet poster
 
Posts: 6
Default How to show data in a custom field in a folder

Hi all,



I want to show some custom fields on a mail folder. How to achieve this?



I add a custom property to the mail item when moving to the specific folder
in my VBA code as,



Set NewField = oNewMail.UserProperties.Add("Type", olText, True)

NewField = loXmlDom.DocumentElement.SelectSingleNode("//type").Text



Also I have added a new column as type in the folder but it is blank for all
mails.

Please advice.



Thanking in advance.

Nadee






Ads