Hi All,
I have created a folder called "Reports", which is in my Mailbox, outside my inbox. My problem is I cannot access it via VBA. I can access all the other folders using "MAPI".
Can I set the "GetDefaultFolder(olFolderInbox)" to something else to access the folder I created?Code:Set oApp = New Outlook.Application 'Reference the default Inbox Set oInbox = oApp.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox)' sets to the Inbox folder, I want my folder "Reports" Set myNewFolder = oInbox.Folders("Reports")
Hope this is clear enough!
mccreaso




Reply With Quote