| |
ginolard
Posts: 1068
Score: 21
Joined: 8/10/2005
Status: offline
|
This might help, I found it on the Office Space Archive of the Script Center. it echoes out all the contacts On Error Resume Next Const olFolderContacts = 10 Set objOutlook = CreateObject("Outlook.Application") Set objNamespace = objOutlook.GetNamespace("MAPI") Set colContacts = objNamespace.GetDefaultFolder(olFolderContacts).Items For Each objContact In colContacts Wscript.Echo objContact.FullName, objContact.BusinessTelephoneNumber Next
_____________________________
Author of ManagePC - http://managepc.net AD Query Template - http://www.visualbasicscript.com/m_40609/tm.htm Consolidated Scripting Framework - http://www.visualbasicscript.com/m_59109/tm.htm
|
|