I am creating a Word 2000 document which has hyperlinks to non-Word files.
These files will be transferred with the file, but the directory and their
location will change, and I want the hyperlinks to follow them, even if moved
to a CD, different drive etc.
currently I am using this in the open procedure to change all the
hyperlinks. But is there a way it could search for the folders and if not
found, either find them on the computer or if not, prompt the user with a
browser to find them?
Dim MyHyper As Object
For Each MyHyper In ActiveDocument.Hyperlinks
MyHyper.Address = "C:\TestFolder"
Next MyHyper
Thanks.

Signature
*********************
J Streger
MS Office Master 2000 ed.
MS Project White Belt 2003
Jean-Guy Marcil - 25 Feb 2005 15:22 GMT
J Streger was telling us:
J Streger nous racontait que :
> I am creating a Word 2000 document which has hyperlinks to non-Word
> files. These files will be transferred with the file, but the
[quoted text clipped - 11 lines]
> MyHyper.Address = "C:\TestFolder"
> Next MyHyper
If you keep all document in a folders that are children to the folders where
the Word document is stored, you can move the whole thing around as much as
you want, and all the links will still work. I do this all the time for
myself and for my clients.
It is just a matter of getting the people to understand that all they have
to do is copy the stuff in any folder, but keep the hierarchical structure
for all children folders.
Then you do not need to bother with macros to find the linked documents and
to recreate the links. Much safer this way and much easier to handle.
Just my 2 cents!

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org