Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Combine Powerpoints and make random slide show

10 Jul 2011   #1

Win 7 Professional 32-bit
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

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(islides - 1).Select

End Sub
Click Run, then Run again or hit F5.


My System SpecsSystem Spec
10 Jul 2011   #2

Windows 7 Home Premium 64 bit

Cool - thanks a lot!
My System SpecsSystem Spec

 Combine Powerpoints and make random slide show

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar help and support threads
Thread Forum
How do I change the slide show ?
When my Windows 7 computer sits idle for a while it automatically defaults to a slide show. Is there any way I can control what images the slide show uses ? Bob S
General Discussion
How to make an instructional slide show for a DVD Player
I plan to create a slide show to show on a large TV that will be used for instruction. I wish to make the advancement of the slides as needed depending on the length of time the audience wishes to spend on it. I would like to control the advancement of the slides with the DVD Player remote....
Music, Pictures & Video
Lost slide show
Clicked remove on one slide(I thought) in live movie maker. The whole lot went - music, captions and all pictures after I spent about 50 hours making slide show. Can I get it back?
Music, Pictures & Video
PowerPoint - make a flashy disco slide show
With the provided model, it is easy to produce a flashy slide show from your own pictures that your kids or grandkids will love. After you viewed the video instructions, you should download the model show from this Skydrive link. With little effort you will be able to produce your own slide...
Always Combine, Show labels
This is driving me mad. I want to use the combined feature with the icons labeled but cant figure it out. In windows xp I liked the group tasks feature that would group the applications together.
Slide show
Why is it even though I've unlocked protected features, and got the Taskbar, I'm unable to create the slide show, as there is no menu to set it up.
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 03:49.

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App