V
VBA Novice
Hey Gurus,
I've been searching high and low for a way to get my file
(approximately 400 slides with lots of hyperlinks) to save without
breaking most of my hyperlinks. I came across the following VBA at
Bill Dilworth's site: http://billdilworth.mvps.org/UnlimitedLinks.htm .
Although I cannot seem to figure out how to get the following code to
work. Reason being I am not proficient (novice level even) at using
VBA, but believe I will need to change (" .Hyperlink.Address =
"http://" & _" ) this line of code to reference a slide. How does one
do this? Or is there an easier way in PPT XP to achieve a greater # of
hyperlinks than 64kb?
Thanks,
The Novice
****************************************VBA Code
Below********************************
Option Explicit
Sub Fission(oBoom As Shape)
Dim vSaved As Boolean
vSaved = ActivePresentation.Saved
On Error Resume Next
With oBoom.ActionSettings(ppMouseClick)
.Hyperlink.Address = "http://" & _
oBoom.TextFrame.TextRange.Text
.Hyperlink.Follow
.Hyperlink.Delete
.Run = "Fission"
.Action = ppActionRunMacro
End With
ActivePresentation.Saved = vSaved
End Sub
I've been searching high and low for a way to get my file
(approximately 400 slides with lots of hyperlinks) to save without
breaking most of my hyperlinks. I came across the following VBA at
Bill Dilworth's site: http://billdilworth.mvps.org/UnlimitedLinks.htm .
Although I cannot seem to figure out how to get the following code to
work. Reason being I am not proficient (novice level even) at using
VBA, but believe I will need to change (" .Hyperlink.Address =
"http://" & _" ) this line of code to reference a slide. How does one
do this? Or is there an easier way in PPT XP to achieve a greater # of
hyperlinks than 64kb?
Thanks,
The Novice
****************************************VBA Code
Below********************************
Option Explicit
Sub Fission(oBoom As Shape)
Dim vSaved As Boolean
vSaved = ActivePresentation.Saved
On Error Resume Next
With oBoom.ActionSettings(ppMouseClick)
.Hyperlink.Address = "http://" & _
oBoom.TextFrame.TextRange.Text
.Hyperlink.Follow
.Hyperlink.Delete
.Run = "Fission"
.Action = ppActionRunMacro
End With
ActivePresentation.Saved = vSaved
End Sub