how to format text as a hyperlink?

H

Howard

Hi,
In part of a document I have a big table of filenames referring to files
stored in a couple of folders.
is there an easy way of making them all hyperlinks to those files?
There are about 300 of them so I don't want to do each one seperately if I
can help it!
(I can do a search and replace to add the folder name to the front of the
filename)
Howard
 
C

Charles Kenyon

You might want to try making them MacroButton fields. See the article on
using macrobutton fields for hyperlinks on the MVP FAQ site. If your
filenames are in a single column, you should be able to write a macro that
will go down the column and convert these. At the same time, you could apply
the hyperlink character style to them if you want.
--

Charles Kenyon

Word New User FAQ & Web Directory:
<URL: http://addbalance.com/word/index.htm>

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL: http://addbalance.com/usersguide/index.htm>

See also the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
S

Suzanne S. Barnhill

On the AutoFormat tab of Tools | AutoCorrect or Format | AutoFormat, make
sure you have "Internet and network paths with hyperlinks" selected, then
run AutoFormat over the document.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
H

Howard

Sorry, this did nothing at all.

I got some joy when I fiddled with the file names and changed the correct
one of

C:\Documents and Settings\hsm\My Documents\Howard\ramsey\ucas ref.doc

to

\\Documents and Settings\hsm\My Documents\Howard\ramsey\ucas ref.doc

to make it look like a network path (with the intention of changing it back
with a search and replace later) but all that did was format the \\Documents
bit. (like its doing in this email!)

Howard
 
S

Suzanne S. Barnhill

<shrug> Works for me, but I'm using it on URLs not file paths.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
C

Charles Kenyon

Try double slash marks and quotation marks around anything that has a space
in it.
--

Charles Kenyon

Word New User FAQ & Web Directory:
<URL: http://addbalance.com/word/index.htm>

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL: http://addbalance.com/usersguide/index.htm>

See also the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
 
H

Howard

Suzanne S. Barnhill said:
<shrug> Works for me, but I'm using it on URLs not file paths.


Er... yes.... that's why I said in my post that I was trying to do this on
file paths!

In my job, where I often have to put urls into a document, having them
autoformat to hyperlinks is more of a pain than a benefit.

Nevermind, Thanks for the speedy reply
 

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