Open Hyperlink from word in new Explorer window

H

Hills

I want the user to be able to click on a link or button in Word that
opens a new instance of the user's browser (which will always be IE)
and go to the page of the link.

How can I do this with VBA?
 
K

Khai

set a reference to Microsoft Internet Controls
(C:\root\System32\shdocvw.dll)
and have your button do the following.

Dim oIE As New InternetExplorer
oIE.Navigate "www.yahoo.com"
oIE.Visible = True
Set oIE = Nothing
 
Top