G
Guurt
Hello All,
I have a simple macro that goes into edit mode, than copies a text box and
goes into Show mode again. But it starts with slide 1 in show mode. When I
add the line "StartingSlide = 41" the powerpoint is not able to go into
Slide show mode at all anymore...and I have to start over.
Does anyone know what the syntax should be to make the macro return in Show
mode from slide 41?
Here it is:
Sub Macro1()
'
' Macro recorded 31-10-2004 by Guurt'
SlideShowWindows(Index:=1).View.Exit **(this line was manually added
to make it go into edit mode)**
ActiveWindow.View.GotoSlide Index:=39
ActiveWindow.Selection.SlideRange.Shapes("TextBox1").Select
ActiveWindow.Selection.Copy
ActiveWindow.View.GotoSlide Index:=41
ActiveWindow.View.Paste
With ActivePresentation.SlideShowSettings
.ShowType = ppShowTypeSpeaker
.LoopUntilStopped = msoFalse
.ShowWithNarration = msoTrue
.ShowWithAnimation = msoTrue
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.SchemeColor = ppForeground
.Run
End With
End Sub
Thanx!
Guurt
I have a simple macro that goes into edit mode, than copies a text box and
goes into Show mode again. But it starts with slide 1 in show mode. When I
add the line "StartingSlide = 41" the powerpoint is not able to go into
Slide show mode at all anymore...and I have to start over.
Does anyone know what the syntax should be to make the macro return in Show
mode from slide 41?
Here it is:
Sub Macro1()
'
' Macro recorded 31-10-2004 by Guurt'
SlideShowWindows(Index:=1).View.Exit **(this line was manually added
to make it go into edit mode)**
ActiveWindow.View.GotoSlide Index:=39
ActiveWindow.Selection.SlideRange.Shapes("TextBox1").Select
ActiveWindow.Selection.Copy
ActiveWindow.View.GotoSlide Index:=41
ActiveWindow.View.Paste
With ActivePresentation.SlideShowSettings
.ShowType = ppShowTypeSpeaker
.LoopUntilStopped = msoFalse
.ShowWithNarration = msoTrue
.ShowWithAnimation = msoTrue
.RangeType = ppShowAll
.AdvanceMode = ppSlideShowUseSlideTimings
.PointerColor.SchemeColor = ppForeground
.Run
End With
End Sub
Thanx!
Guurt