Links to another document

N

news

Hello all,

Using Word 2003.

I am writing some information security policy documents:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
...\infosec\policies\policy1.doc
...\infosec\policies\policy2.doc
...\infosec\policies\policy3.doc
~~~~~~~~~~~~~~~~~~~~~~~~~~~
etc.

I am also writing a glossary document:
~~~~~~~~~~~~~~~~~~~~~~~~~~~
...\infosec\misc\glossary.doc
~~~~~~~~~~~~~~~~~~~~~~~~~~~

The policies contain many technical words and phrases that require
explanation in the glossary.

What I would like to do is attach a clickable link to each technical
word/phrase in the policy documents. The link will point to the
corresponding explanation in the glossary.

I assume that I can mark each word/phrase in the glossary with a
bookmark, but how do I set up a relative link in the policy document
that points to the bookmark?

(The glossary document will always be at the same relative path to the
policy documents; that is, ..\misc\glossary.doc).
 
N

news

news <[email protected]> said:
What I would like to do is attach a clickable link to each technical
word/phrase in the policy documents. The link will point to the
corresponding explanation in the glossary.

Oh dear. Does the absence of any response mean it can't be done?
 
G

Graham Mayor

Select the word or phrase in the glossary document and copy to the
clipboard. In the other document edit > paste as hyperlink.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
N

news

Graham Mayor said:
Select the word or phrase in the glossary document and copy to the
clipboard. In the other document edit > paste as hyperlink.

Graham, that's almost what I want, except the hyperlink contains the
*full* path to the target.

I just need the *relative* path (..\..\misc), as the documents root
folder may be located anywhere on the network. Is there any way I can
specify a relative link, or somehow edit the link to make it relative?
 
G

Graham Mayor

I don't think this is going to work with relative paths. The best you can
manage, I suspect, would be to ensure that both the document and the
glossary are saved in the same folder - that way you can eliminate the path
altogether as Word always looks in the document folder if it cannot find the
data. Thus you could edit the hyperlink to show Glossary.doc#bookmark
to jump to the bookmark in the glossary.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
N

news

Graham Mayor said:
I don't think this is going to work with relative paths. The best you can
manage, I suspect, would be to ensure that both the document and the
glossary are saved in the same folder - that way you can eliminate the path
altogether as Word always looks in the document folder if it cannot find the
data. Thus you could edit the hyperlink to show Glossary.doc#bookmark
to jump to the bookmark in the glossary.

You set me thinking. I have now discovered "Edit Hyperlink", and there
is an option there to select relative links. This was already selected.

I then discovered that when I let the cursor hover over the hyperlink,
although it shows the full path from C:\ downwards, it is actually a
resolved relative path. I moved the files to different folders, and sure
enough the full path changed, but the relative path still worked.

And in fact, after further experimentation, I discovered that the policy
doc (containing the hyperlink) and the glossary do not have to be in the
same folder.

So, problem solved. Many thanks for pointing me in the right direction
Graham.
 
N

news

news <[email protected]> said:
So, problem solved. Many thanks for pointing me in the right direction
Graham.

Hmmm, another snag.

The hyperlink works fine. I click on the link in document A, and this
takes me to the corresponding bookmark in document B.

But in doing this, document A automatically closes. How do I prevent
this?
 
S

Suzanne S. Barnhill

In the Hyperlink dialog, you can click on Target Frame... and choose New
Window. This will insert the \t "_blank" switch into your HYPERLINK field
code.

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

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
N

news

Suzanne S. Barnhill said:
In the Hyperlink dialog, you can click on Target Frame... and choose New
Window. This will insert the \t "_blank" switch into your HYPERLINK field
code.

Another problem solved! As usual, many thanks Suzanne.
 

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