- Subject: How do I select a specific folder in Outlook?
- Author: duckofprey
- Date: 23 Apr
- References:
Under the Personal Folders in Outlook 2003, I created a folder called "Test"
How do I pick this folder in VB? This is what I have now:
Dim ns As NameSpace
Dim oMessagesFolder As MAPIFolder
...
Set oMessagesFolder = ns.GetDefaultFolder(olFolderJunk)
This obviously picks the Junk folder. However, I want it to pick the "Test"
folder I created.