navigate master slides using vba

D

Debf

I'm trying to create a macro that will be used on presentations that
have multiple master slides. The macro will detect all hyperlinks on
each slide in the presentation. Here is my problem: I want the macro
to navigate to the actual slidemaster slide to show the user the
object that has the hyperlink in it. I'm able to navigate to slides
using

activewindow.view.gotoslide(slidenumber)

but I cannot seem to use this in slidemaster view.

Here is a snippet of the macro

ActiveWindow.ViewType = ppViewSlideMaster
For i = 1 To ActivePresentation.Designs.Count
For Each oHl In
ActivePresentation.Designs(i).SlideMaster.Hyperlinks
If oHl.Type = msoHyperlinkShape Then
ActiveWindow.View.GotoSlide
(i) ' Here is where I am stuck
oHl.Parent.Parent.Select
MsgBox "HYPERLINK IN SHAPE" _



...
 

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