How to Randomize Slides in Powerpoint 2007

Microsoft PowerPoint 2007 allows you to create a dynamic slideshow presentation quickly and easily. Occasionally you may have a PowerPoint presentation with slides that you want to put in random order or randomize. Unfortunately PowerPoint does not have an option to accomplish this. You can, however, create a macro using Microsoft's built-in VBA editor to randomize all slides in a particular PowerPoint presentation. You can then run this macro as many times as you wish to randomize the order of the slides in the presentation.

Woman giving presentation
How to Randomize Slides in Powerpoint 2007
credit: TAGSTOCK1/iStock/Getty Images

Step

Launch PowerPoint 2007 by double-clicking on the desktop icon or clicking Start > All Programs > Microsoft Office > Microsoft Office PowerPoint 2007.

Step

Click the "Office" button in the upper left and select "Open." Navigate to the location of the PowerPoint presentation you want to randomize the slides in and double-click it to open it in PowerPoint.

Step

Press the "Alt" and "F11" key simultaneously to launch the Microsoft VBA editor. A new window will appear.

Step

Click on the filename of your presentation in the left "Project" pane to select it. Click on "Insert" in the file menu and select "Module." An empty text field will appear.

Step

Input the following code into the field:

Step

Sub sort_rand()

Step

End Sub

Step

Click on the "X" in the upper right corner of the VBA editor to exit it.

Step

Press the "Alt" and "F8" key simultaneously to open the "Macros" menu.

Step

Click on "sort_rand" in the "Macro name" section then click "Run." The macro will run and randomize all slides in your PowerPoint presentation.