Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Leroy Leroy is offline
external usenet poster
 
Posts: 11
Default Hyperlink will not open in a target which is a named browser windo

If I create a hyperlink that has for target the name of the browser window in
which I want my link to open (ex: "MyBrowserWindow"), when I click on that
link, it will open it in a window with a blank name and will not open it in
my window called "MyBrowserWindow".

However if I do the same thing by inserting a similar link (ex: a
href='http://www.microsoft.com' target='MyBrowserWindow'Microsoft/a) in a
html file opened with a browser (or an editor other than a Microsoft Office
application), when I click on the link, it will open in a window named
"MyBrowserWindow". This is the desired result.

Is there a way to make the hyperlink in Word open in the desired browser
window.

Thanks.
--
Leroy
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default Hyperlink will not open in a target which is a named browserwindo

Hello Leroy

Leroy wrote:
If I create a hyperlink that has for target the name of the browser window in
which I want my link to open (ex: "MyBrowserWindow"), when I click on that
link, it will open it in a window with a blank name and will not open it in
my window called "MyBrowserWindow".

However if I do the same thing by inserting a similar link (ex: a
href='http://www.microsoft.com' target='MyBrowserWindow'Microsoft/a) in a
html file opened with a browser (or an editor other than a Microsoft Office
application), when I click on the link, it will open in a window named
"MyBrowserWindow". This is the desired result.

Is there a way to make the hyperlink in Word open in the desired browser
window.


harly, as long as the file is opened in Word and in DOC format.

0.2¢
Robert
--
/"\ ASCII Ribbon Campaign | MSFT |
\ / | MVP | Scientific Reports
X Against HTML | for | with Word?
/ \ in e-mail & news | Word | http://www.masteringword.eu/
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Leroy Leroy is offline
external usenet poster
 
Posts: 11
Default Hyperlink will not open in a target which is a named browser w

Thanks Robert for the reply.

I get the the same result with a hyperlink in a .doc file in Word or an link
in an html file opened in Word. When I click on them the browser page that
opens doesn't have the name of the target that I specified.

When I try to view the hyperlink in the field code format by pressing
Alt-F9, the hyperlink appears as such:

{HYPERLINK "http://www.microsoft.com" \t "MyBrowserPageName"}

Why are we allowed to enter a customized name for the target if it is not
meant to open in a browser window with that name?

Is there a field code switch other than \t that would allow the link to open
in the right browser window?

I have the same results with links in a html mail message in Outlook.

Thanks,

Yves





--
Leroy


"Robert M. Franz (RMF)" wrote:

Hello Leroy

Leroy wrote:
If I create a hyperlink that has for target the name of the browser window in
which I want my link to open (ex: "MyBrowserWindow"), when I click on that
link, it will open it in a window with a blank name and will not open it in
my window called "MyBrowserWindow".

However if I do the same thing by inserting a similar link (ex: a
href='http://www.microsoft.com' target='MyBrowserWindow'Microsoft/a) in a
html file opened with a browser (or an editor other than a Microsoft Office
application), when I click on the link, it will open in a window named
"MyBrowserWindow". This is the desired result.

Is there a way to make the hyperlink in Word open in the desired browser
window.


harly, as long as the file is opened in Word and in DOC format.

0.2¢
Robert
--
/"\ ASCII Ribbon Campaign | MSFT |
\ / | MVP | Scientific Reports
X Against HTML | for | with Word?
/ \ in e-mail & news | Word | http://www.masteringword.eu/

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Robert M. Franz (RMF) Robert M. Franz (RMF) is offline
external usenet poster
 
Posts: 1,741
Default Hyperlink will not open in a target which is a named browserw

Hello Leroy

Leroy wrote:
I get the the same result with a hyperlink in a .doc file in Word or an link
in an html file opened in Word. When I click on them the browser page that
opens doesn't have the name of the target that I specified.

When I try to view the hyperlink in the field code format by pressing
Alt-F9, the hyperlink appears as such:

{HYPERLINK "http://www.microsoft.com" \t "MyBrowserPageName"}

Why are we allowed to enter a customized name for the target if it is not
meant to open in a browser window with that name?


but it is, isn't it: if you open the HTML in a browser!


Is there a field code switch other than \t that would allow the link to open
in the right browser window?

I have the same results with links in a html mail message in Outlook.


The underlying problem might be: the target property is meant for the
browser to interpret and act accordingly. IE knows what to do with it
(which you can test by opening the HTML file, generated in Word, in IE).
But Word and Outlook don't seem to have a facility for this. So it's
either use the browser and specify your targets, or don't bother. :-/

0.2¢
Robert
--
/"\ ASCII Ribbon Campaign | MSFT |
\ / | MVP | Scientific Reports
X Against HTML | for | with Word?
/ \ in e-mail & news | Word | http://www.masteringword.eu/
  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Hyperlink will not open in a target which is a named browser w

See http://sbarnhill.mvps.org/WordFAQs/HyperlinkProbs.htm for possible help.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Leroy" wrote in message
...
Thanks Robert for the reply.

I get the the same result with a hyperlink in a .doc file in Word or an
link
in an html file opened in Word. When I click on them the browser page
that
opens doesn't have the name of the target that I specified.

When I try to view the hyperlink in the field code format by pressing
Alt-F9, the hyperlink appears as such:

{HYPERLINK "http://www.microsoft.com" \t "MyBrowserPageName"}

Why are we allowed to enter a customized name for the target if it is not
meant to open in a browser window with that name?

Is there a field code switch other than \t that would allow the link to
open
in the right browser window?

I have the same results with links in a html mail message in Outlook.

Thanks,

Yves





--
Leroy


"Robert M. Franz (RMF)" wrote:

Hello Leroy

Leroy wrote:
If I create a hyperlink that has for target the name of the browser
window in
which I want my link to open (ex: "MyBrowserWindow"), when I click on
that
link, it will open it in a window with a blank name and will not open
it in
my window called "MyBrowserWindow".

However if I do the same thing by inserting a similar link (ex: a
href='http://www.microsoft.com' target='MyBrowserWindow'Microsoft/a)
in a
html file opened with a browser (or an editor other than a Microsoft
Office
application), when I click on the link, it will open in a window named
"MyBrowserWindow". This is the desired result.

Is there a way to make the hyperlink in Word open in the desired
browser
window.


harly, as long as the file is opened in Word and in DOC format.

0.2¢
Robert
--
/"\ ASCII Ribbon Campaign | MSFT |
\ / | MVP | Scientific Reports
X Against HTML | for | with Word?
/ \ in e-mail & news | Word | http://www.masteringword.eu/






  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Leroy Leroy is offline
external usenet poster
 
Posts: 11
Default Hyperlink will not open in a target which is a named browser w

Thanks Suzanne for the link to your very nice site and Robert for your reply.

As suggested by Robert, I will consider that hyperlinks in Word or Outlook
will not have this expected behavior (to open in a browser page with the name
specified in the target).

Thanks for your help,

Leroy


"Suzanne S. Barnhill" wrote:

See http://sbarnhill.mvps.org/WordFAQs/HyperlinkProbs.htm for possible help.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

"Leroy" wrote in message
...
Thanks Robert for the reply.

I get the the same result with a hyperlink in a .doc file in Word or an
link
in an html file opened in Word. When I click on them the browser page
that
opens doesn't have the name of the target that I specified.

When I try to view the hyperlink in the field code format by pressing
Alt-F9, the hyperlink appears as such:

{HYPERLINK "http://www.microsoft.com" \t "MyBrowserPageName"}

Why are we allowed to enter a customized name for the target if it is not
meant to open in a browser window with that name?

Is there a field code switch other than \t that would allow the link to
open
in the right browser window?

I have the same results with links in a html mail message in Outlook.

Thanks,

Yves





--
Leroy


"Robert M. Franz (RMF)" wrote:

Hello Leroy

Leroy wrote:
If I create a hyperlink that has for target the name of the browser
window in
which I want my link to open (ex: "MyBrowserWindow"), when I click on
that
link, it will open it in a window with a blank name and will not open
it in
my window called "MyBrowserWindow".

However if I do the same thing by inserting a similar link (ex: a
href='http://www.microsoft.com' target='MyBrowserWindow'Microsoft/a)
in a
html file opened with a browser (or an editor other than a Microsoft
Office
application), when I click on the link, it will open in a window named
"MyBrowserWindow". This is the desired result.

Is there a way to make the hyperlink in Word open in the desired
browser
window.

harly, as long as the file is opened in Word and in DOC format.

0.2¢
Robert
--
/"\ ASCII Ribbon Campaign | MSFT |
\ / | MVP | Scientific Reports
X Against HTML | for | with Word?
/ \ in e-mail & news | Word | http://www.masteringword.eu/





Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlink to use existing browser by using target="" in Word 2007 Patrick Bae Microsoft Word Help 0 December 10th 07 08:29 PM
How to create hyperlink in word to open a new browser windo? vehenterprises Microsoft Word Help 3 June 29th 07 01:16 PM
How to open hyperlink (in MSWord) in a new browser window Nasir Microsoft Word Help 4 September 7th 06 02:43 PM
Setting a hyperlink within a document to open in a different windo telomollo Microsoft Word Help 5 August 25th 06 08:54 PM
Hyperlink To A Named Range In Excel HMS Microsoft Word Help 1 March 15th 06 04:57 PM


All times are GMT +1. The time now is 05:47 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"