ItemProperties *is* the collection name:
For Each field in contact.ItemProperties
array(x) = field.name
Next
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Rhonda" <(E-Mail Removed)> wrote in message news:C368DE16-586E-40F5-988F-(E-Mail Removed)...
> Thanks Sue,
>
> But I am not sure what the collection name is. I am trying to create an
> array which would contain all the field names found when you select "All
> Contact Fields" from the field chooser or all fields available when creating
> a contact.
>
> Would it be something like
>
> for each field in contact.field
> array(x)=field.name
> next field
>
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> Use the ItemProperties collection.
>>
>> "Rhonda" <(E-Mail Removed)> wrote in message news:37526731-8098-41D8-A606-(E-Mail Removed)...
>> >I am creating a Word 2002 application to integrate with Outlook 2003. Does
>> > anyone know a way to programmatically loop through all the fields in the "All
>> > Contact Fields" list?
>>