Getting notes from a folder other than the default one in Outlook VBA -


i'm getting notes default folder using code:

set mynote = application.getnamespace("mapi").getdefaultfolder(olfoldernotes) 

how can notes different folder?

you have walk folder hierarchy, example if other notes folder 1 level below inbox, code be

set mynote = application.getnamespace("mapi").getdefaultfolder(olfolderinbox).folders("my new notes folder name") 

Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -