G'day - further to my earlier postings I have narrowed down the problem now - I use the following code to specify 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?