D
Doug Dixon
I am a newbie, and all I am trying to do is open the 'My
Contacts' folder in my existing Outlook session. Instead,
this code keeps opening a new session of Outlook to
display the folder. What am I doing wrong?
Set olns = Outlook.Application.GetNamespace("MAPI")
Set MyFolder1 = olns.Folders("Public Folders")
Set MyFolder2 = MyFolder1.Folders("All Public Folders")
Set MyFolder3 = MyFolder2.Folders("My Contacts")
MyFolder3.Display
Thanks!
Contacts' folder in my existing Outlook session. Instead,
this code keeps opening a new session of Outlook to
display the folder. What am I doing wrong?
Set olns = Outlook.Application.GetNamespace("MAPI")
Set MyFolder1 = olns.Folders("Public Folders")
Set MyFolder2 = MyFolder1.Folders("All Public Folders")
Set MyFolder3 = MyFolder2.Folders("My Contacts")
MyFolder3.Display
Thanks!