Make it the Last Slide

G

Geetesh Bajaj

Someone I know wants to make the active slide the last slide (by moving it
to the last slide position) - can this be done with some code?
 
S

Shyam Pillai

Sub ShiftSlideSelectionToEnd()
Dim Wnd As Object
Set Wnd = ActiveWindow
With Wnd
If Val(Application.Version) > 9 Then
.Selection.SlideRange.MoveTo .Presentation.Slides.Count
Else
.Selection.SlideRange.Cut
.Presentation.Slides.Paste
End If
End With
End Sub
 

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