Outlook 2010 marco to move from anywhere in the program to the inbox with VBA RRS feed

  • Question

  • I want to move from say the contacts or the Calendar to the Mail | Inbox in a Marco or with VBA....

    I found the following code, but it will launch a new window with the Inbox set correctly..... but I want to do it with the same window as outlook 2010 is running in.... Thanks for the help in advance and please send me a email with your answer

       Dim fldrInbox As MAPIFolder
       Set fldrInbox = Outlook.ActiveExplorer().Session.GetDefaultFolder( _

    Monday, February 17, 2014 11:38 PM

All replies

  •    Set fldrInbox = Outlook.ActiveExplorer().Session.GetDefaultFolder( _
         ActiveExplorer.SelectFolder fldrInbox
    Tuesday, February 18, 2014 9:34 PM