#1
|
|||
|
|||
Master reset?
I created a rather complex presentation where there a many triggers and animations. Ok, complex by my standard . But at a certain point I need to reset the slide back to square one, preferably with a very slight delay, like 1 second after I hit the reset. I need this so that the user can run through the demonstration again. Is such a feature possible |
#2
|
|||
|
|||
Without code you can place a slide before the complex one (ideally it should look like the completed complex one) Give it an auto transition of 1 second and make the button link to this slide. the animations should be reset when it goes back to the original slide.
In code try this: Sub resetSlide() Dim osld As Slide Set osld = SlideShowWindows(1).View.Slide delayMe(1) SlideShowWindows(1).View.GotoSlide (osld.SlideIndex), resetSlide:=msoTrue End Sub Sub delayMe(lngDelay as Long) Dim TimerEnd As Long TimerEnd = Timer + lngDelay Do While TimerEnd > Timer DoEvents Loop End Sub |
#3
|
|||
|
|||
Thanks John, I was actually very close to the transition method you stated. I modified my version as you suggested and it works perfectly, thank you so much. I will try using the code in another version too.
|
#4
|
|||
|
|||
No problem Gerry.
|
#5
|
|||
|
|||
I am wondering if the code could be fine tuned a bit. I would like to be able to press the button that has the resetSlide code attached to it which is also used to Trigger a short animation (about 1 second) to allow the animation to complete BEFORE it resets.
Possible? |
#6
|
|||
|
|||
Sorry there's no simple way to do that.
|
#7
|
|||
|
|||
I figured there would not be. Either of the the two methods, the code version or the slide transition, still look and act pretty dang good and both are very usable.
Thanks for all your assistance. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Macro to reset settings | Jennifer Murphy | Word VBA | 1 | 08-02-2012 04:12 PM |
Reset Animations | debraholloway | PowerPoint | 0 | 07-14-2011 09:22 PM |
Reset start page? | markg2 | Excel | 2 | 04-18-2010 06:54 AM |
How To Reset The Defaults Settings | Mixman77 | Office | 0 | 01-16-2010 02:42 PM |
Reset on error | kiwichico | Word VBA | 0 | 09-23-2008 08:15 PM |