Graham: Bummmer, I was afraid of that! Thank you very much for your help!!
"Graham Mayor" wrote:
> The available field codes for this function are those listed at the end of
> the page. I know of no way of adding to this list. The only way to access
> other fields is to use Mail Merge -
> http://www.gmayor.com/mailmerge_from_outlook.htm
> Another possibility is to map the required field content from unavailable
> fields to unused but available fields. There's a macro at the end of
> http://www.gmayor.com/merge_labels_with_word_2007.htm which with a little
> modification could be used to perform the mapping, but it would be a bit of
> a lash-up..
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
> Mathew wrote:
> > I would like to insert address data and other data from Outlook using
> > a macro. I have the address info macro down thanks to Graham Mayor's
> > wonderful examples and explaination at his web site:
> > http://www.gmayor.com/Macrobutton.htm . However, I need to add a few
> > more fields, like OrganizationalIDNumber, Department, CustomerID,
> > GovernmentIDNumber and RadioTelephoneNumber and a few others. I know
> > that the macros pulls data from the contact in for the address fields
> > effectively. So, 1st is it possible to insert other type of data
> > from Outlook using the macro? If so how do I find the field names
> > for the code syntax please see example below:
> >
> > Dim OrganizationalIDNumber As String
> > OrganizationalIDNumber = "
> > OrganizationalIDNumber = Application.GetAddress("",
> > OrganizationalIDNumber, False, 2, , , True, True)
> >
> > This returns nothing at all. I've tried changing the form of the
> > variable to:
> > . OrganizationalIDNumber
> > . Organizational_ID_Number
> > . ORGANIZATIONALIDNUMBER
> > . ORGANIZATIONAL_ID_NUMBER
> > However, I cannot retrieve the data Organizational ID Number stored
> > in the Outlook Contact under the Organizational ID Number. Any
> > suggestions?
> > Thanks for any help!
>
>
>