How to Randomize Slides in PowerPoint Presentation

Randomizing slides in a PowerPoint presentation can add an element of surprise and keep your audience engaged. There are a few ways to shuffle slides in PowerPoint:

Manually Shuffle Slides

You can manually rearrange slides to randomize their order:

  1. Open your PowerPoint presentation
  2. Click on the View tab and select Slide Sorter
  3. In Slide Sorter view, all slides are visible in a grid
  4. Click on a slide and drag it to another position in the grid
  5. Repeat this process, moving slides to random positions, to shuffle the slide order


  • Simple process
  • Easily rearrange slides


  • Order depends on your manual shuffling so may not be completely random

Use Slide Show > Rehearse Timings

Another manual way to randomize slides:

  1. Open your presentation
  2. Go to Slide Show tab
  3. Click on Rehearse Timings
  4. Select the slides you want to shuffle
  5. Click Randomize


  • Quick way to randomize slides
  • Option to select specific slides


  • Still depends on manual actions for randomness

Randomize Slides with VBA Macro

To fully automate shuffling slides randomly, you need to use VBA macro code:

  1. Enable the Developer tab in PowerPoint
  2. Open VBA editor
  3. Paste this VBA macro code:
Sub RandomizeSlides()
    Dim sld As Slide
    Dim j As Integer, rNum As Integer
    Dim sldCount As Integer
    sldCount = ActivePresentation.Slides.Count
    If sldCount > 1 Then
        For i = 1 To sldCount
            ActiveWindow.View.GotoSlide i
            Set sld = ActiveWindow.View.Slide
            rNum = Int((sldCount * Rnd()) + 1)
            ActiveWindow.View.GotoSlide rNum
            j = ActiveWindow.View.Slide.SlideIndex
            ActiveWindow.View.GotoSlide i
            ActivePresentation.Slides(i).MoveTo (j)
    End If
End Sub
  1. Run the macro to shuffle slides


  • Fully automates random slide order
  • Add macro to button to reshuffle anytime


  • Need to enable and work with VBA editor

Randomize Slides in Slide Show

You can randomize slides as you present using slide show shortcuts:

  1. Start slide show
  2. When moving between slides, press Ctrl + M
  3. This will jump to a random slide instead of the next one


  • Quick way to get random order “on the fly”


  • Can only randomize in slide show itself

Tips for Randomizing Slides

  • Test shuffle multiple times to ensure randomness
  • For partial shuffle, select slides before using Rehearse Timings
  • Add VBA macro to shape to let audience reshuffle slides
  • Disable transitions when randomizing to avoid odd visual flow
  • Ensure slides work well standalone for fully random order
  • Use randomize to create multiple versions of a presentation

Why Randomize Slides?

There are good reasons to shuffle your PowerPoint slides into random order:

  • Engages audience: Random order keeps viewers attentive since they don’t know what slide comes next
  • Creates excitement: Chance of seeing any slide at any time builds energy and anticipation
  • Shows flexibility: Demonstrates slides work independently so order doesn’t impact presentation
  • Provides variety: Gives multiple versions of the same presentation for repetitive use
  • Encourages interaction: Lets audience reshuffle slides with in-presentation macro button

So if you want to energize your PowerPoint presentation, make it more engaging, and surprise your viewers, randomizing slides can be highly effective!

Frequently Asked Questions

Here are answers to some common questions about randomizing PowerPoint slides:

How do I shuffle all slides?

To shuffle the entire presentation randomly, don’t select specific slides when using Rehearse Timings or the VBA macro code – by default they will shuffle all slides.

Can I group slides to shuffle together?

Yes, you can ensure certain slides stay together in the shuffle. Group them in PowerPoint using Ctrl + click then shuffle selected slides only.

How can I prevent duplicate slides?

With the VBA macro code, you can add a check and counter to prevent duplicates. Or uncheck “Show Slide Repeat” in Slide Show settings.

What’s the keyboard shortcut to jump to random slides?

When already in slide show view, press Ctrl+M to jump to a random slide automatically.

How do I add a “Shuffle” button on a slide?

Create a shape, assign the VBA macro to it, then copy/paste onto slides. It will act as a shuffle button in presentation mode.


Randomizing PowerPoint slides keeps your audience excited and engaged as they won’t know what slide is next. Manually shuffling works but using VBA macros ensures full randomness. Just jump right in and start shuffling your deck!