M
michaaal
Why won't this code work in Outlook 2003? It seems to work in Outlook 2000?
Dim objApp As Application
Dim objNS As NameSpace
Dim objContacts As MAPIFolder
Set objApp = CreateObject("Outlook.Application")
Set objNS = objApp.GetNamespace("MAPI")
Set objContacts = objNS.GetDefaultFolder(olFolderContacts)
Dim objApp As Application
Dim objNS As NameSpace
Dim objContacts As MAPIFolder
Set objApp = CreateObject("Outlook.Application")
Set objNS = objApp.GetNamespace("MAPI")
Set objContacts = objNS.GetDefaultFolder(olFolderContacts)