If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
pause commands while displaying
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 |
#2
|
|||
|
|||
pause commands while displaying
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 "theintern" wrote: 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 |
#3
|
|||
|
|||
pause commands while displaying
In article , Theintern
wrote: 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? As long as you're looking at event handlers, you could have the end slide show event trigger the code that deletes the objects. ----------------------------------------- Steve Rindsberg, PPT MVP PPT FAQ: www.pptfaq.com PPTools: www.pptools.com ================================================ |
#4
|
|||
|
|||
pause commands while displaying
Look at OnSlideShowTerminate event at
http://officeone.mvps.org/vba/events_version.html - Chirag PowerShow - View multiple PowerPoint slide shows simultaneously http://officeone.mvps.org/powershow/powershow.html "theintern" wrote in message ... 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 |
Thread Tools | |
Display Modes | |
|
|