Is there a sub which could do this? Thanks
There's an example in our vba section
http://www.pptalchemy.co.uk/powerpoint_hints_and_tips_tutorials.html#vba
Regards John
--
Amazing PPT Hints, Tips and Tutorials
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
If opres.ReadOnly = True Then
How can I proceed?
-------
Sub reversi()
Dim opres As Presentation
Dim i As Integer
'Cannot alter read only presentation
If opres.ReadOnly = True Then Exit Sub
Set opres = ActivePresentation
'seqentially move slides to front
For i = 2 To opres.Slides.Count
opres.Slides(i).MoveTo 1
Next i
End Sub
Yep there's a typo
Either change the line to
If ActivePresentation.ReadOnly .....
or move this line below the line which sets opres=ActivePresentation
--
Amazing PPT Hints, Tips and Tutorials
I would also appreciate your help in adapting your sub to do the
interleaving bit in my other posting. I'm afraid I'm not up to the task.
Sub inter()
Dim i As Integer
Dim pos As Integer
Dim opres As Presentation
Set opres = ActivePresentation
For i = (opres.Slides.Count) / 2 + 1 To opres.Slides.Count - 1
pos = pos + 2
opres.Slides(i).MoveTo (pos)
Next
End Sub
--
Amazing PPT Hints, Tips and Tutorials