Link to home
Start Free TrialLog in
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Flag for New Zealand

asked on

Pausing a Powerpoint animation

Hi all,

I have a ppt with lots of custom animation and slide transitions. You can watch the whole thing like a movie, without having to click once.

Sometimes, when I give this presentation, there are questions and I need to pause the presentation. For this, I'm using the code in the code snippet below, and two shapes that are located on the slide master.

But, when I click a shape, the current slides starts from the beginning as soon as

    .Presentation.SlideMaster.Shapes("pause").ZOrder msoSendToBack

is executed.

I don't want that. I want to pause and then continue at exactly the same spot. As a workaround, I can place the Pause and  Resume shapes next to each other and comment out the msoSendToBack lines in the code. But, since in the real presentation, the shapes will be white on white, i.e. invisible, I'd just want to make them really big and then be able to click anywhere in the screen to pause and click anywhere again to resume.

Any idea how to do that?

cheers, teylyn
Option Explicit

Sub PauseShow()
With SlideShowWindows(1)
    .View.State = ppSlideShowPaused
    .Presentation.SlideMaster.Shapes("pause").ZOrder msoSendToBack
End With
End Sub


Sub ResumeShow()
With SlideShowWindows(1)
    .View.State = ppSlideShowRunning
    .Presentation.SlideMaster.Shapes("resume").ZOrder msoSendToBack
End With
End Sub

Open in new window

Freeze.ppt
Avatar of footinch
footinch

Another solution to pausing the presentation is simply using the "Black Screen" feature in PowerPoint. Just hit the "B" key on the keyboard and PowerPoint will pause the presentation and any animation in progress and display a black screen so that you can answer the question without any distraction behind you. Once you are completed, hitting the "B" key returns you to your presentation right where you left off, even in the middle of any animation.
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)

ASKER

I don't want to black the screen. For one, it will be more distracting than just freezing the image, and also, I may need to point to elements that are visible on the screen to explain concepts.
Another solution is using Ctrl-p for pause and Ctrl-a for resume
I see, in that case you can press any of the number keys along the top of the keyboard (I use the number 1 key) and it will pause the animation. When you want to continue, just hit the tilde key (  `  ) to resume the animation.
ASKER CERTIFIED SOLUTION
Avatar of Thomasian
Thomasian
Flag of Philippines image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thomasian, that's it!
I can now walk away from the keyboard and pause the screen by clicking a button on my wireless mouse. Thanks.

footinch, the number 1 works, but the ` key gives a beep on restart.
HiepTest, thank you, that works as well.

I also found that simply pressing S will stop and restart, too.

But since I want to be away from the keyboard, the points go to Thomasian.

Thanks all.