myItem.UserProperties("Account Number")

See http://www.outlookcode.com/article.aspx?ID=38 for more information on OUtlook property syntax.

Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54

"Henry Stockbridge" <hstockbridge5@hotmail.com> wrote in message news:24c127c4-dacc-4a8d-b1e6-667191fc246a@l42g2000hsc.googlegroups.com...
> Hello,
>
> I have created a User Defined field called "Account Number" (text)
> where I am storing the account number associated with a particular
> email message. How do I go about extracting the values from this
> customized field? I have looked at the online documentation for
> Microsoft Outlook Visual Basic Reference, and tried a couple lines of
> code based on threads in this group, but can't get it to go.
>
> Any examples you can lend woud be appreciated.
>
> Sincerely,
>
> Henry Stockbridge
20 JunIterating Through UserProperty Values.Henry Stockbridge
20 Jun\ Re: Iterating Through UserProperty Values.Sue Mosher [MVP-Outlook]
22 Jun   \ Re: Iterating Through UserProperty Values.Henry Stockbridge
All times are in (US) Eastern Daylight Time (GMT -4:00)