Share via

Easy way to add multiple hyperlinks in PowerPoint 2010?

Anonymous
2012-06-24T10:46:16+00:00

I need to add a 'Next Slide' hyperlink to multiple (but not all) slides in a 2010 Office ppt file. The file (circa 200 slides) will be used in Keynote on iPads and I need the links to ensure that tapping the screen on the iPad directs the user to the correct slide.

Is there a quick way of setting up/recording a macro to do this? I have no visual basic skills.

Cheers.

Microsoft 365 and Office | PowerPoint | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

6 answers

Sort by: Most helpful
  1. Anonymous
    2012-06-24T15:28:41+00:00

    This is quite easy.

    Draw your shape on your slide, e.g. a Right Arrow shape, with the text "Next" on it.

    Press Alt+F11 to open the VBE, then do Insert Module.

    Paste in the following code:

    Sub NextSlide()

        If Application.SlideShowWindows.Count > 0 Then

            SlideShowWindows(1).View.Next

        End If

    End Sub

    Sub PasteOnEachSlide()

        Dim sld As Slide, startingSld As Slide

        Set startingSld = ActiveWindow.View.Slide

        For Each sld In ActivePresentation.Slides

            If Not sld Is startingSld Then

                sld.Select

                ActiveWindow.View.Paste

            End If

        Next sld

        startingSld.Select

    End Sub

    Close the VBE and in PowerPoint select the shape.

    The do Insert tab > Links group > Action

    Select the Run macro option and choose NextSlide from the dropdown.  OK.

    You should now be able to copy that shape and paste (Ctrl+V) it on each slide, and the macro action should still be applied.

    Obviously, for this to have any point to it, you need to make your slides NOT advance on a click.  You do that via the Animations tab > Transition to this slide group > Advance slide on mouse click (uncheck).

    To get that shape on to each slide you can run the macro PasteOnEachSlide via View tab Macros.  Select PasteOnEachSlide and click run.  But you must copy the shape you made (after having added the macro Action to it) using Ctrl+C first.

    Hope that helps.

    Cheers

    Rich

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2012-06-26T16:09:11+00:00

    David, I think you and Steve are on to something here... but I think your two ideas just need pulling together.

    OK, scrap my macro idea.  I hadn't realised you can add an action to hyperlink to next slide.

    I would propose the following would be most efficient:

    1. Open the slide master via View tab > Master
    2. Then either on the Slide Master (the first/top thumbnail in the slide thumbnails on the left), or in EACH of your Slide Layouts, add a shape and asign an action: Insert > Action > On mouse click > Hyperlink to: Next slide, OK.

    If you put that on the slide master it will appear on every slide (that uses that master).  If you don't put it on the master, you need to copy it then paste it on to every Layout that is used in your presentation.  That should be significantly fewer Ctrl+V's than pasting on ~200 slides.

    The drawback to this is that you wont be able to adjust the position of the next button on a specific slide (e.g. if it had contnent that would overlap it).  If you want that flexibility, copy and pasting the PasteOnEachSlide macro and running it with a shape already copied to the clipboard will be much faster than 200 x (Ctr+V, PgDn)...

    Hope that helps.

    Cheers

    Rich

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Steve Rindsberg 99,166 Reputation points MVP Volunteer Moderator
    2012-06-25T00:59:29+00:00

    Another approach that doesn't involve vba would be to add a new layout to your presentation (a copy of an existing layout), and add your Next Silde button to the layout.  Any slides based on this layout will have the Next button.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2012-06-26T13:50:46+00:00

    All these ideas are reasonable, but in the time it would take to implement any of them, you could easily create a button, copy it, and paste it on 200 slides. If you have to do this kind of thing a lot, you want to explore one of the other solutions, but a click (for next slide), ctrl-v, click, ctrl-v, ... just won't take that long, especially compared to creating a macro for someone who has never done it before.

    David Marcovitz

    Author of Powerful PowerPoint for Educators

    http://www.PowerfulPowerPoint.com/

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2012-06-24T15:41:16+00:00

    Note you'll need to save your presentation as .pptm (macro enabled).

    (also, note I updated my first post, so please check the site rather than just reading any e-mails you may have received...)

    Cheers

    Rich

    Was this answer helpful?

    0 comments No comments