Opening New Webpage in the Existing Browser Tab?

J

Junya Nitta

I use the Internet quite often in my daily work.

When I am running the following macro on word application, a new
browser tab is always opened.

Is anybody knows how to cause the link to open in the "existing
browser tab", which already exists in the browser window underneath
the active document, without opening a new tab?

Eventhough I set the NewWindow property as false, the following code
opens new tabs in IE7 or later (or browser windows in IE6).

Any idea?

Thanks in advance.

Dim URL As String

URL = "http://www.google.com"
ActiveDocument.FollowHyperlink Address:=URL, NewWindow:=False,
AddHistory:=True
 

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