View Single Post
  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Barbara Barbara is offline
external usenet poster
 
Posts: 87
Default How do I prevent Word from adding target="_BLANK" to half my l

Bob,

I have been looking in the Edit Hyperlink dialog in Word, and I have been
using Notepad to look at the HTML. When I use Shift + F9 to look at the field
codes in Word, I find that all four links include the \n switch. (I have no
idea just how that switch got there.) So now the question becomes, "Why does
Word sometimes preserve and sometimes discard \n?"

You have given me a way of dealing with this in Word, at least: I can show
all the field codes and remove \n. Thanks!
--
Barbara Hill


"Bob Buckland ?:-)" wrote:

Hi Barbara,

Where are you looking at the source of these pages?
Word 200 didn't have a built in 'filtered' version of Web documents, it used an Office 2000 add-in/utility to achieve that.

If you're looking at the document in Word use Alt+F9 to toggle the field codes and edit them there. The target="_blank" portion is
valid HTML.

How a new page in a web browser opens or reuses the existing instance can depend on the browser settings of the person visiting the
web page

=============
"Barbara" wrote in message ...
Thanks for your answer, Robert. If I understand you correctly, it is simply
unpredictable whether Word 2000 is going to set a link to open in a new
window. And there is no way of knowing by looking at settings in Word (either
2000 or 2003). In the case of these four documents, I surely created all four
hyperlinks in the same way as each other. Probably it was with the icon in
the toolbar. Well, I find it somewhat annoying that Word randomly decides
whether a link is supposed to open in a new window or not. But I guess it is
what it is. Thanks again.
--
Barbara Hill
--

Bob Buckland ?:-)
MS Office System Products MVP

*Courtesy is not expensive and can pay big dividends*