GAL address lists are not Outlook folders. You can't use Outlook ContactItem properties with them. See
http://www.outlookcode.com/codedetail.aspx?id=594 for a code sample showing how to retrieve a phone number with MAPI properties.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Lars Thomsen Nielsen" wrote in message ...
What line does it bomb at when you debug?
The shown code works fine, but only for my private contacts. I wish to get
the phonenumbers from on of the companies distributionlists ("All address
lists" - "All Groups" - "Local list"). However I can't seem to define the
folder correctly :-(
Lars