• Open a web page from Word 2007 VBA

    Author
    Topic
    #464090

    I have the following code to open a web page:
    Dim IE
    Set IE = CreateObject(“internetexplorer.application”)
    mySTR = “http://MyWebPage”
    IE.Navigate mySTR

    The code works if I run it from vba – it opens the page on top of Word. But
    if I assign it to a QAT or Ribbon button, it opens the page but leaves it
    minimized.

    How can I get it to open on top of Word?

    Viewing 0 reply threads
    Author
    Replies
    Viewing 0 reply threads
    Reply To: Reply #1186891 in Open a web page from Word 2007 VBA

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information:




    Cancel