View Single Post
 
Old 09-09-2012, 07:01 AM
Jamtart Jamtart is offline Windows 7 64bit Office 2010 64bit
Advanced Beginner
 
Join Date: Apr 2012
Posts: 53
Jamtart is on a distinguished road
Default

Here is a little something I found to create a Pause and Resume:
Lets say if you are running a slide that has multiple animations on it. Halfway through the presentation, you may want to pause the animations to explain something. A simple way to do this is to press the "b" key which will black out the screen. Then, press "b" key again to resume the presentation. The downside is that you won't be able to see the content on the screen.

To resolve this, you can make use of VBA. To do so, click Tools > Macro > Visual Basic Editor. Copy the code as shown below:

Sub pauseshow()
ActivePresentation.SlideShowWindow.View.State = ppSlideShowPaused
End Sub

Sub runshow()
ActivePresentation.SlideShowWindow.View.State = ppSlideShowRunning
End Sub

Close the editor once you are done.

Now, create two autoshapes.
Right click on the first one and select Action Settings. Select Run Macro > pauseshow. Click Ok.
Right click on the second one and select Action Settings. Select Run Macro > runshow. Click Ok.
Clicking on Shape 1 will now pause the presentation, while clicking on Shape 2 will resume the presentation.
Web site:
https://msmvps.com/blogs/tohlz/archi...-with-vba.aspx

Then, because you would have disabled the "Advance Slide" as I do, you need an action button to advance to the next slide, or just press N on the keyboard if that is easier.
Reply With Quote