Hi - writing a macro in Outlook (I know that this is not true VBS, but someone must know the answer!). I use the following code to select a folder AAA UNDER the inbox:
Set objApp = CreateObject("Outlook.Application"
Set MyNameSpace = objApp.GetNameSpace("MAPI"
Set MyFolder = MyNameSpace.GetDefaultFolder(olFolderInbox)
Set MyNewFolder = MyFolder.Folders("AAA"
Set objSelection = objApp.ActiveExplorer.Selection
I need to specify a (non-default) folder AAA which is alongside the Inbox, not beneath it - how do I do this?
Set objApp = CreateObject("Outlook.Application"
Set MyNameSpace = objApp.GetNameSpace("MAPI"
Set MyFolder = MyNameSpace.GetDefaultFolder(olFolderInbox)
Set MyNewFolder = MyFolder.Folders("AAA"
Set objSelection = objApp.ActiveExplorer.Selection
I need to specify a (non-default) folder AAA which is alongside the Inbox, not beneath it - how do I do this?