Four basic things, Mail, Calendar, People, and Tasks; How do I detect in VBA code when I switch from one to another. Doesn't really matter which one ones. I am guessing that I have to create a wrapper with the appropriate events in it but I have not been able to figure out which event I am looking for. I know how to create the wrapper etc., just not sure what event I should be looking for.