I often (using the mouse) switch between 1 of 3 favorite folders under my inbox. I am looking to write a macro to switch between these folders. I see lots of emails on code to move specific emails to folders but is there a way to move focus on a specific folder?
Share
Sure, you could just change the
CurrentFoldervalue to one of your Inbox folders. Here’s an example of changing views from wherever I am to a folder named “T1” which is under the Inbox.See http://msdn.microsoft.com/en-us/library/bb220039.aspx for more details.