Pause/Resume for VBA code

  • Thread starter Thread starter daMike
  • Start date Start date
D

daMike

Hello,

I have to run a VBA code in PPT 2002 and need to insert a
pause/resume function (button). Is it possible to stop the running
code and resume at the breakpoint point after clicking again on the pause button?

Thanks in advance!
daMike
 
Hi,

thanks for the advice. I'm not a VBA guru either :-). Currently I use
a WHILE-loop with a 1sec wait-cycle to "simulate" the pause. Via
a flag I enable and disable that cycle. Works pretty good but it
looks not really nice.

Thanks for your help!
daMike
 
thanks for the advice. I'm not a VBA guru either :-). Currently I use
a WHILE-loop with a 1sec wait-cycle to "simulate" the pause. Via
a flag I enable and disable that cycle. Works pretty good but it
looks not really nice.

Mike, as long as we're talking Windows-only, see this:

Putting your macro to Sleep
http://www.rdpslides.com/pptfaq/FAQ00466.htm
 

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

Back
Top