Hyperlink to a bookmark

C

Carl L Cooper

I like to use hyperlinks to bookmarked locations in various Word files.
Occasionally I will establish a hyperlink which takes me to the top of the
target document as expected but when I edit the hyperlink and click
"Locate," the bookmark appears in the usual way and is added to the Anchor
box as well as to the address at the top, but the hyperlink no longer works.

What am I missing? 95% of the hyperlinks to a bookmarked location work
beautifully, but the other 5% stubbornly resist and I can't discover any
characteristic in either file to account for it.

Thanks,

Carl
 
C

Carl L Cooper

I think I've solved the problem. The address in the "Link to" box had lost
the "%20" code which Word inserts into every space. Without the code, the
link would take me to the (top of the) file, but if I used "Locate" to
designate a bookmark, the link would fail.

I'm not sure how the link lost the "%20" code ‹ perhaps when I moved either
the source file or the destination file to a new location. You can tell that
I don't know much about what I am talking about here; I'm proceeding by
trial and error without a good grasp of the principles. I'd welcome any
comments.

Thanks,

Carl
 
J

John McGhie [MVP - Word and Word Macintosh]

Hi Carl:

The reason you did not get any comments was probably that no-one else could
figure it out either :)

A %20 is simply the hexadecimal code for a space. So as far as the internet
is concerned, it *is* a space. Of course, in URLs, spaces are significant,
so if you didn't have one, that would indeed be your problem.

Most browsers don't care, so you could replace that with either %20 or with
" " without the quotes and it would work just fine.

Cheers


I think I've solved the problem. The address in the "Link to" box had lost the
"%20" code which Word inserts into every space. Without the code, the link
would take me to the (top of the) file, but if I used "Locate" to designate a
bookmark, the link would fail.

I'm not sure how the link lost the "%20" code ‹ perhaps when I moved either
the source file or the destination file to a new location. You can tell that I
don't know much about what I am talking about here; I'm proceeding by trial
and error without a good grasp of the principles. I'd welcome any comments.

Thanks,

Carl


--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <[email protected]>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410
 

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