pause commands while displaying

T

theintern

I have a macro which inserts some objects, then displays the slideshow, then
deletes the objects. problem: it's not waiting till after the slideshow to
delete the objects. i'm guessing there's a simple way to tell it to wait
until the slideshow is over before continuing through the macro, just don't
know how. Do you? :)

thanks
scott
 
T

theintern

Sub Wait()
waitTime = 60
Start = Timer
While Timer < Start + waitTime
DoEvents
Wend
End Sub

Sub Mainstuff()
"your code here"
Wait
"rest of code here"
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