Hyperlink bases

G

Guest

I have a presentation that calls approximately 80 files through hyperlinks.
I have created a hyperlink base to facilitate copying of the presentation and
files, as per Microsoft's advice. I now find that the hyperlink base
overrides hyperlinks to specific slides within the same presentation.
Options such as "Next Slide" or "Previous Slide" still work, but if I wish to
specify the number of the slide I wish to jump to, the path in the hyperlink
base takes precedence. Is there a solution to this?
 
B

Bill Dilworth

Well, the silly thing was doing what you told it to. Sorta almost what you
told it to anyway. It just got a bit confused as to which of the "base
presentations'" slide 2 you meant.

This 'undocumented feature' can be fixed by adding the following macro to
your presentation and running it whenever you add a hyperlink, rename, or
move the file. This will quickly evaluate every object in your presentation
with a local slide number jump and affix the name of the current
presentation to it. It will not affect links to other presentations,
programs, or web pages.

====Here is the code=====
Option Explicit

Sub OffTheCuff()
Dim oSl As Slide
Dim oSh As Shape

For Each oSl In ActivePresentation.Slides
For Each oSh In oSl.Shapes
With oSh.ActionSettings(ppMouseClick).Hyperlink
If .Address = "" And .SubAddress <> "" Then
.Address = ActivePresentation.FullName
End If
End With
Next oSh
Next oSl
MsgBox "Done."
End Sub
=======================


--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
http://billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
yahoo2@ Please read the PowerPoint
yahoo. FAQ pages. They answer most
com of our questions.
www.pptfaq.com
..
..
 
G

Guest

Thank you for the macro. My understanding is that I would run this macro
every time I copy/move the presentation and linked files, and that I should
eliminate the hyperlink base.
 
B

Bill Dilworth

The Macro replaces the "assumed" presentation name which is stored in the
hyperlink base. If you can eliminate the need for the hyperlink base, all
the evil misdirection goes away. This fix method would be far easier than
running the macro on every change.

Bill D.
 
G

Guest

I appreciate your help!

Bill Dilworth said:
The Macro replaces the "assumed" presentation name which is stored in the
hyperlink base. If you can eliminate the need for the hyperlink base, all
the evil misdirection goes away. This fix method would be far easier than
running the macro on every change.

Bill D.
 

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