Switching to my Inbox in Outlook

I'm trying to write a macro that will quickly and reliably bring up the window that is my Inbox view in Microsoft Outlook. When I am working, I almost always have Outlook open, and set to viewing my inbox. I may, however, also have other windows in Outlook open, such as an e-mail message or a contact.

I have tried using AppBringUp and AppSwapWith, but have found that they don't work very reliably, to put it charitably.

Right now, I'm using a macro that runs through the open tasks on the taskbar until the active window title reads "Inbox -Microsoft Outlook". It works fairly well, but certainly is not bulletproof.

I'm wondering if there is a better way to do this using windows API code, but so far I have not identified it.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

There was a thread on this

There was a thread on this in the natpro macros list of yahoogroups. Quite involved procedures, that work most of the time.

I was, afterwards, again surprised by the simple AppBringup "outlook" calls. After that just ctrl+1 to go to email,
ctrl+3 to go to contacts etc.

To go to inbox there used to be shift+ctrl+i but I cannot find that one any more.

I can past some macro's if you wish.

Quintijn

I don't remember that

I don't remember that thread. I'll go look, of course. Do you remember when the messages were posted?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.




view recent posts