M
Mathew
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 = "<PR_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!
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 = "<PR_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!