B Bre-x Oct 6, 2008 #1 I created a folder under the "Personal Folders" root How do I refer to it using VBA? Bre-x
S Sue Mosher [MVP-Outlook] Oct 6, 2008 #2 Use the GetDefaultFolder method and Parent and Folders properties to walk up and down the folder hierarchy, e.g.: Set inbox = Application.Session.GetDefaultFolder(olFolderInbox) Set root = inbox.Parent Set myFolder = root.Folders("Name of My Folder")
Use the GetDefaultFolder method and Parent and Folders properties to walk up and down the folder hierarchy, e.g.: Set inbox = Application.Session.GetDefaultFolder(olFolderInbox) Set root = inbox.Parent Set myFolder = root.Folders("Name of My Folder")