List of standard contact fields

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

I'm writing some VBA code to export user-defined fields
out of a contact form. I'm looking for a listing of the
standard Outlook contact fields. For instance Business
Phone 2 is "Business2TelephoneNumber". But if you're in
form design and bring up the properties on that control,
the value is not that.

Thanks,
Chris
 
Chris,

You can find this info in the Object Browser.

From Outlook, press Alt-F11 to open the Code Window, then
press F2 to open the Object Browser.

You can do a search for something- in this case, search
on 'ContactItem'. Click on ContactItem, and the bottom
right window will contain all the fields you're looking
for.

Otherwise, you can search on 'Item', which will show you
all the items such as AppointmentItem, TaskItem, etc., and
you can click on one of them to see their members.

Good Luck,

-Andrew
 
Andrew,

Thanks a million. I'm trying to write some code to export
contact information (standard and user-defined) and I was
having a hard time with the contact field names, since
they're not what show up on the Value tab in the Form
Design view.

Thanks again!
Chris
 
Back
Top