Open web page from Word 2007

A

Adri

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top