- Local time
- 10:40 AM
- Messages
- 299
How to Randomize order of a PowerPoint presentation (Office 2007-2010)
I have a set of 10 Powerpoint presentations that I combined into one presentation with Histology image identification questions. I wanted to play the slide show in a random order so that I don't know what image comes next and I can really test myself.
Here's how to do it
From within the Powerpoint you want to randomize Alt+F11 to open Visual Basic. Make sure your Powerpoint is highlighted on left-hand side. Click Insert => Module
copy and paste the following
Click Run, then Run again or hit F5.
Voila.
I have a set of 10 Powerpoint presentations that I combined into one presentation with Histology image identification questions. I wanted to play the slide show in a random order so that I don't know what image comes next and I can really test myself.
Here's how to do it
From within the Powerpoint you want to randomize Alt+F11 to open Visual Basic. Make sure your Powerpoint is highlighted on left-hand side. Click Insert => Module
copy and paste the following
Code:
Sub sort_rand()
Dim i As Integer
Dim myvalue As Integer
Dim islides As Integer
islides = ActivePresentation.Slides.Count
For i = 1 To ActivePresentation.Slides.Count
myvalue = Int((i * Rnd) + 1)
ActiveWindow.ViewType = ppViewSlideSorter
ActivePresentation.Slides(myvalue).Select
ActiveWindow.Selection.Cut
ActivePresentation.Slides(islides - 1).Select
ActiveWindow.View.Paste
Next
End Sub
Click Run, then Run again or hit F5.
Voila.
Last edited:
My Computer
- Computer Manufacturer/Model Number
- Gateway M6827
- OS
- Win 7 Professional 32-bit
- CPU
- Intel Core 2 Duo CPU T5750 @ 2.00 GHz
- Memory
- 3GB
- Monitor(s) Displays
- ViewSonic Vx900
- Screen Resolution
- 1280x1024
- Hard Drives
- 150GB Hard Drive