Hi,

I work on a number of projects, where I use a shared mailbox to store emails in a folder structure reflecting the projects (which are also arranged by category in the shared mailbox). At any given time I work on 5-10 "live" projects and I have added the corresponding folders in the shared mailbox as "favorites" in the Outlook viewing pane.

I have been trying to put together a macro which does the following: When I click a folder in the "favorites" view, I would like that folder (no matter if it is located in my personal mailbox or the shared mailbox) to be automatically selected in the normal navigation view just below the "favorites" view. So if the relevant folder is a sub-sub-sub folder etc. it is selected with all the above folders being expanded.

I just can't figure out how to get it to work.

I reckon that the macro will need to be in Application_Startup, and also that the WithEvents handler needs to be used?

Anyone who can help?