fraengi
11-19-2003, 02:58 AM
Hello,
I am trying to get some information from the GAL:
But I need a cell from the "details" menu. AddressEntry.Details shows only the menue ...
How can I get the content of the fields ?
Dim outAddr As AddressList
Sub getglobadd()
Set outAddr = Application.Session.AddressLists("Globales Adressbuch")
Set outAddrEntr = outAddr.AddressEntries
For x = 1 To 100 ' get first 100
Debug.Print outAddrEntr.Item(x).Name
Debug.Print outAddrEntr.Item(x).Address
Debug.Print outAddrEntr.Item(x).Type
Debug.Print outAddrEntr.Item(x).ID
Next x
End Sub
...gives me only information about name,address...etc
I have found:
Debug.Print outAddrEntr.Item(x).Fields(CdoPR_ACCOUNT).Value
but this does not work. Seems to be a CDO feature.
AddressEntries has not object "Fields"
How can I access the other fields like:surname, initials etc.. ?
???
Thanks for a short hint...!
Ciao Frank
I am trying to get some information from the GAL:
But I need a cell from the "details" menu. AddressEntry.Details shows only the menue ...
How can I get the content of the fields ?
Dim outAddr As AddressList
Sub getglobadd()
Set outAddr = Application.Session.AddressLists("Globales Adressbuch")
Set outAddrEntr = outAddr.AddressEntries
For x = 1 To 100 ' get first 100
Debug.Print outAddrEntr.Item(x).Name
Debug.Print outAddrEntr.Item(x).Address
Debug.Print outAddrEntr.Item(x).Type
Debug.Print outAddrEntr.Item(x).ID
Next x
End Sub
...gives me only information about name,address...etc
I have found:
Debug.Print outAddrEntr.Item(x).Fields(CdoPR_ACCOUNT).Value
but this does not work. Seems to be a CDO feature.
AddressEntries has not object "Fields"
How can I access the other fields like:surname, initials etc.. ?
???
Thanks for a short hint...!
Ciao Frank