I'm currently getting notes fro开发者_开发问答m the default folder using the code:
Set myNote = Application.GetNamespace("MAPI").GetDefaultFolder(olFolderNotes)
How can I get notes from a different folder?
You have to walk the folder hierarchy, for example if your other Notes folder is one level below the Inbox, the code would be
Set myNote = Application.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Folders("My New Notes Folder Name")
精彩评论