none
can't bring Outlook dialog window to foreground with Office 2013 RRS feed

  • Question

  • I'm trying to switch the focus to an Outlook dialog pop-up, but haven't been able to get that to work.

        Set olDialog = olApp.Session.GetSelectNamesDialog
        olApp.ActiveWindow.Activate

    If anyone knows how to bring the Outlook dialog window to the foreground on a Windows 7 64 bit computer running 32 bit Office 2013, I'd love to hear from them. It seems to work ok with Office 2010, but not Office 2013.


    Wednesday, October 16, 2013 12:15 PM

Answers

  • Is Outlook running at the time your code is executing?

    Does it work if you bring Outlook to the foreground first by calling Application.ActiveExplorer.Activate?


    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

    • Marked as answer by Gordon Prince Thursday, October 17, 2013 10:21 AM
    Wednesday, October 16, 2013 3:12 PM

All replies