Accessing User values in Outlook form

B

Bill Le May

I want to cycle through Outlook form items in an Exchange folder and look at
custom Values. What is the syntax for accessing the values? In the code
snippet below, I'm cycling through Outlook form items in a folder named PCN
Queue. I need the syntax to access a Value called "PCN Number" associated
with the Outlook form.

Thanks for any help.


Set ns = GetNamespace("MAPI")
Set Inbox = ns.GetDefaultFolder(olFolderInbox)
Set PCNFolder = Inbox.Folders("PCN Queue")

For Each Item In PCNFolder.Items

MsgBox (Item. ) <--- Need this code

Next Item
 
Top