Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-16-2011, 05:22 AM
nickl nickl is offline import public contacts to local contacts Windows 7 64bit import public contacts to local contacts Office 2010 64bit
Novice
import public contacts to local contacts
 
Join Date: Sep 2011
Posts: 2
nickl is on a distinguished road
Default

Thanks, I'm giving it a shot but like I said this isn't my strong suit. I have this and it's erroring out with run time error 91 "object cariable or with block variable not set." Any ideas?

Private Sub Application_Startup()
Dim myNameSpace As Outlook.NameSpace
Dim myContactsFolder As Outlook.Folder
Dim myPublicContactsFolder As Outlook.Folder

Set myContactsFolder = myNameSpace.GetDefaultFolder(olFolderConflicts)
Set myPublicContactsFolder = myNameSpace.GetDefaultFolder(olPublicFoldersAllPub licFolders)
Set Item = myPublicContactsFolder.Items("New Phone List").CopyTo(myContactsFolder)
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
import public contacts to local contacts How to automatic save Sending or replying contacts e-mails into contacts? biologus Outlook 1 09-12-2011 01:14 PM
Category issues with public folder contacts Amanda Outlook 0 06-27-2010 10:01 PM
Outlook 2007 import contacts (.csv) pacecal Outlook 0 06-20-2009 09:35 AM
import emails, contacts from Apple Mail to Outlook 2003 hippo430 Outlook 0 02-15-2009 05:53 PM
Import Contacts from web page flamingvan Outlook 0 12-11-2006 09:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:46 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft