B
Brad
Thanks for taking the time to read my question.
I am trying to return the BusinessFaxNumber of a contact
by finding the contact by the FullName.
when I run the code below I get an error that says "The
object does not suppor this method" In the Locals
window, myItem has <No Variables>.
When I hold the cursor over myItem, the name I am looking
for is displayed.
Does this mean that nothing is being found?
Thanks again for the help.
Brad
Set myOlApp = CreateObject("Outlook.Application")
Set myNameSpace = myOlApp.GetNamespace("MAPI")
Set myContacts = myNameSpace.GetDefaultFolder
(olFolderContacts)
Set myItem = myContacts.Items.Find("[FullName] = ""Full
Name Here""")
myItem.BusinessFaxNumber
I am trying to return the BusinessFaxNumber of a contact
by finding the contact by the FullName.
when I run the code below I get an error that says "The
object does not suppor this method" In the Locals
window, myItem has <No Variables>.
When I hold the cursor over myItem, the name I am looking
for is displayed.
Does this mean that nothing is being found?
Thanks again for the help.
Brad
Set myOlApp = CreateObject("Outlook.Application")
Set myNameSpace = myOlApp.GetNamespace("MAPI")
Set myContacts = myNameSpace.GetDefaultFolder
(olFolderContacts)
Set myItem = myContacts.Items.Find("[FullName] = ""Full
Name Here""")
myItem.BusinessFaxNumber