Hyperlinks. Urgent Help Needed!

  • Thread starter Thread starter KL
  • Start date Start date
K

KL

Hi there,

Background: I have a *.ppt presentation which contains a
few text-boxes with hyperlinks to other *.ppt as well as
*.doc, *.xls and *.pdf files. The documents called by the
hyperlinks are located in different subfolders of the same
root directory as the main presentation and are 15 in
total.

The Task: I need to distribute this presentation via CD.
Ideally, I would like to maintain the directory structure.

The Problem: When I move the directory anywhere else, not
only to a CD, the hyperlinks stop working (can't find the
files).

I know you can select relative path links and put all
files including the presentation in the same folder, but
this is the last thing I would like to do. I can also
create activeX buttons and assign macros like:

-----code start-------
Const myDocument = "\subfolder\document.doc"

Sub OpenFile()
Dim Path As String
Path = ActivePresentation.Path
Set doc = CreateObject("Word.Application")
doc.Visible = True
doc.Documents.Open (Path & myDocument)
End Sub
-----code finish-------

but this does not seem to be an elegant solution to me,
given that there is a number of different applications,
subfolders and files. Also you will need to ask the user
to enable macros and so on.

Can anybody point at a nicer solution please.

Thanks,
KL






Are ther a
 
Two solutions: 1. put them in the same folder, 2. keep beating your head
on your desk. The first one is less painful, and it's the only way to
create relative links. Without relative links, you cannot move your files
without breaking the links. Kind of a Catch-23.
--

Sonia, MS PowerPoint MVP Team
http://www.soniacoleman.com
(Tutorials and Autorun CD Project Creator)
PowerPoint Live! - Featured Speaker
Tucson, AZ; October 12-15, 2003
 
Sonia said:
Two solutions: 1. put them in the same folder, 2. keep beating your head
on your desk. The first one is less painful, and it's the only way to
create relative links. Without relative links, you cannot move your files
without breaking the links. Kind of a Catch-23.

It depends on the type of links. Pictures, sounds and movies and (offhand I
forget, maybe a couple others) can be linked to relative *directories*.

Ie, if the PPT is in \MyStuff\MyPressie.PPT
it could have links to files in \MyStuff\Pitchers\Whatsit.JPG and
\MyStuff\Moompitchers\ItsAliveMaster.avi

If the links are relative ... ie, to \Moompitchers\ItsAliveMaster.avi
instead of to the full path, then you can move your main folder and subs off
to e.g. a CD and begorrah, it works.

A little trick that's built into FixLinks ya see. ;-)
 
Back
Top