Button to launch IE from outlook

A

Ames111

Hi

I cam currently using the following code on a button on a cudtom form.
it launches a new browser window and directs to microsoft.com

Set objWSHShell = CreateObject("WScript.Shell")

objWSHShell.Run("http://www.microsoft.com")

the problem is it takes control of an already open browser window, i
would like it to open in a new window. any ideas?

Is there a simpler vba way of doing it??

Basically it needs to point at a specific URL and open in a new window.
All the users will be using IE
 

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