Download presentation
Presentation is loading. Please wait.
Published byMagdalen Rice Modified over 9 years ago
1
Shuffle the Cards Sub Shuffle() Dim Iupper As Integer Dim Ilower As Integer Dim Ifrom As Integer Dim Ito As Integer Dim i As Integer Iupper = InputBox("What is the highest slide number to shuffle") Ilower = InputBox("What is the lowest slide number to shuffle") If Iupper > ActivePresentation.Slides.Count Or Ilower < 1 Then GoTo err For i = 1 To 2 * Iupper Randomize Ifrom = Int((Iupper - Ilower + 1) * Rnd + Ilower) Ito = Int((Iupper - Ilower + 1) * Rnd + Ilower) ActivePresentation.Slides(Ifrom).MoveTo (Ito) Next i Exit Sub err: MsgBox "Your choices are out of range", vbCritical End Sub Shuffle Video
2
1
3
2
4
3
5
4
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.