Random display of slides in Powerpoint

B

Brian Reilly, MS MVP

I'm surprised that Tushar's code doesn't work. He's an excellent coder
among his other skills. What doesn't work consistently?

Also I've posted some random code here in the past which you should
find using a google search on "Reilly random powerPoint"

You'd have to modify mine to run in slide show view but that'd be
easy.

Brian Reilly, PowerPoint MVP
 
C

Colleen

Brian,
I saved a copy of the random code that you posted over a year ago. I used
it for my first attempt at VBA and it worked wonderfully. I hope that you
don't mind if I post it here now.
Colleen

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
Code by Brian Reilly, PowerPoint MVP
 
G

Guest

I have Office 2003 and I tried using the add-in from Tushar-Mehta.com but it failed to load.. I know nothing about VB, can any one help?
 
M

Michael Koerner

could you please provide us with the steps you took to install and then activate
the addin?

--
<>Please post all follow-up questions/replies to the newsgroup<>
<><><>Do Provide The Version Of PowerPoint You Are Using<><><>
<><><>Do Not Post Attachments In This Newsgroup<><><>
Michael Koerner [MS PPT MVP]


I have Office 2003 and I tried using the add-in from Tushar-Mehta.com but it
failed to load.. I know nothing about VB, can any one help?
 
S

Shyam Pillai

Drew,
Check your macro settings (Tools | Macros | Security...) Change it to
medium and then try to load the add-in again.

--
Regards
Shyam Pillai

Handout Wizard
http://www.mvps.org/skp/how/

Drew B said:
I have Office 2003 and I tried using the add-in from Tushar-Mehta.com but
it failed to load.. I know nothing about VB, can any one help?
 
G

Guest

Thank you thank you thank you... it works no

----- Shyam Pillai wrote: ----

Drew
Check your macro settings (Tools | Macros | Security...) Change it t
medium and then try to load the add-in again

--
Regard
Shyam Pilla

Handout Wizar
http://www.mvps.org/skp/how

Drew B said:
I have Office 2003 and I tried using the add-in from Tushar-Mehta.com bu
it failed to load.. I know nothing about VB, can any one help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top