Author Message

Posted: Wed Mar 17, 2010 8:34 pm   Post subject: remove Hyper Links - PPT 2007


I have hyper link in 42 slides of my PPt (2007) and most of them have hyperlink to an excel. Is there any way that i can remove all the Hyper links in one go, without changing the formats of the slides?

can anyone help me on this?

Profile profile test

Posted: Thu Mar 18, 2010 7:54 am   Post subject: Re: remove Hyper Links - PPT 2007

In case you are familiar with Visual basic macros you may use something like this:

Sub RemoveHyperlinks()

    For i = 1 To ActivePresentation.Slides.Count
        Dim sld As Slide
        Set sld = ActivePresentation.Slides(i)
        For j = sld.Hyperlinks.Count To 1 Step -1
            Dim h As Hyperlink
            Set h = sld.Hyperlinks(j)
        Next j
    Next i

End Sub

This macro, however, does not remove hyperlinks which are applied to a part of the text (for example to one of several paragraphs). However, they can also be removed if you improve the macro a bit.

Profile profile test WWW www ICQ ICQ
Display posts from previous:  Sort by  


Who is online
Who is online In total there are 2 users online :: 1 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 108 on Thu Nov 21, 2013 3:41 pm

Registered users: Bing [Bot]