Word Boorish Hyperlink to Web

D

Darrel

Word Boorish Hyperlink to Web
I have an Internet Explorer window open on web page A. In Word I click
on a link to a different web page. Instead of opening web page B, web
page A gets overwritten. Is there any way to set Word so that it opens
a fresh window?
 
J

Jay Freedman

Word Boorish Hyperlink to Web
I have an Internet Explorer window open on web page A. In Word I click
on a link to a different web page. Instead of opening web page B, web
page A gets overwritten. Is there any way to set Word so that it opens
a fresh window?

Yes, there is a way -- in fact, several ways -- as you might have discovered if
you looked in the Help for the topic "Hyperlink field".

- In an existing field's code, if you add the \n switch, the link will open a
new window. For example,

{ HYPERLINK "http://www.google.com" \n }

- In an existing field's code, if you add the \t"_blank" switch, the link will
open a new window. For example,

{ HYPERLINK "http://www.google.com" \t"_blank" }

- When you add a new field in the Insert > Hyperlink dialog, click the Target
Frame button and choose "New window". If you want, you can check the box for
"Set as default for all hyperlinks" and then you won't have to click the Target
Frame button for any other hyperlinks unless you want to change their behavior.
 
T

Terry Farrell

Even easier...

Open IE7 and select Tools, Internet Options, General tab and click on Tabs
Settings. There you will find options labeled, 'Open links from other
programs in...' and one of those options is 'New Window'.
 
D

Darrel

Yes, there is a way -- in fact, several ways -- as you might have discovered if
you looked in the Help for the topic "Hyperlink field".

- In an existing field's code, if you add the \n switch, the link will open a
new window. For example,

{ HYPERLINK "http://www.google.com" \n }

- In an existing field's code, if you add the \t"_blank" switch, the link will
open a new window. For example,

{ HYPERLINK "http://www.google.com" \t"_blank" }

- When you add a new field in the Insert > Hyperlink dialog, click the Target
Frame button and choose "New window". If you want, you can check the box for
"Set as default for all hyperlinks" and then you won't have to click the Target
Frame button for any other hyperlinks unless you want to change their behavior.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ:http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.

Thanks for the help, Jay. Your gentle rebuke about using Help
gracefully accepted. At the time I was helping a friend using Word in
a foreign language I scarcely understood. Back now on an English
language machine I became penitential and looked in Help as a matter
of retribution. Well, I might have found that switch you mention, but
perhaps not. Quite techie and scarcely user friendly. No mention at
all of Terry's more general solution to the problem... So, my post was
not in vain, at least from my view.
 
J

Jay Freedman

Thanks for the help, Jay. Your gentle rebuke about using Help
gracefully accepted. At the time I was helping a friend using Word in
a foreign language I scarcely understood. Back now on an English
language machine I became penitential and looked in Help as a matter
of retribution. Well, I might have found that switch you mention, but
perhaps not. Quite techie and scarcely user friendly. No mention at
all of Terry's more general solution to the problem... So, my post was
not in vain, at least from my view.

Point taken. I'm used to dealing with Help that isn't helpful, so I knew what I
was looking for. Sorry if I tweaked your feathers a bit hard. :)

Regarding Terry's solution, that works if you're the one viewing your documents;
but then everyone who uses IE to look at your documents and click the hyperlinks
would have to make the same setting change. Putting switches in the hyperlinks
ensures that they behave the same for everyone, and it should work in all
browsers (not that I've tested that).
 
B

Bob Buckland ?:-\)

Hi Jay,

FWIW, Terry's answer also applies :)

The settings individuals (or companies) have set in their browser to reuse a browser window or to create a 'new browser window'
usually override the switches in the Word hyperlink field :)

In IE7, Tools=>Internet Options=>General=>Tabs=>Settings=>
"Open links from other programs in"
and/or
Tools=>Internet Options=>Advanced=>Browsing
"Reuse windows for launching shortcuts(when...)

Also, in Word 2003 & 2007 if you add the \n switch while trying to type in a {HYPERLINK} field in the document (rather than while in
Insert=>Field=>Hyperlink Word seems to try to the \n switch,
seeming to prefer the '\t(target_frame ) switches in Insert=>Hyperlink although those too can be trumped by the browser settings, or
perhaps there's an autocorrect action there <g>)


=============
Point taken. I'm used to dealing with Help that isn't helpful, so I knew what I
was looking for. Sorry if I tweaked your feathers a bit hard. :)

Regarding Terry's solution, that works if you're the one viewing your documents;
but then everyone who uses IE to look at your documents and click the hyperlinks
would have to make the same setting change. Putting switches in the hyperlinks ensures that they behave the same for everyone, and
it should work in all
browsers (not that I've tested that).

--
Regards,
Jay Freedman
Microsoft Word MVP >>
--

Bob Buckland ?:)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*
 

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