How to change the toolbar shown in outlook main explorer based on the click of mail,contact,task,app

P

Puneet

How to change the toolbar shown in outlook main explorer based on the click of mail,contact,task,appointment window
 
K

Ken Slovak - [MVP - Outlook]

Use the Explorer.BeforeFolderSwitch event to see what type of folder is
being switched to and adjust your toolbar UI based on that. You get
NewFolder As Object, test the folder object for the DefaultItemType
property, which returns a member of the OlItemType enum.
 
Top