Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-14-2015, 01:31 PM
Snakehips Snakehips is offline Previously good in 2007 - single slide presentation does not automatically loop in 2013  - requires Windows 8 Previously good in 2007 - single slide presentation does not automatically loop in 2013  - requires Office 2013
Advanced Beginner
Previously good in 2007 - single slide presentation does not automatically loop in 2013  - requires
 
Join Date: Mar 2015
Posts: 36
Snakehips is on a distinguished road
Default

John,

Many thanks for the response and I appreciate what you are saying.

However, I have now managed to narrow the problem down somewhat and it would appear to be a vba issue. Hopefully the following will clearly explain what is / isn't happening and enable someone to offer a solution.
Courtesy of OfficeOne I am using their EventGenerator add-in and have coded for several events. OnSlideShowBegin and OnSlideShowEnd, both of which interact with two Excel files, are absolutely fine. The problem would appear to be with OnSlideShowNextSlide.
As previously stated I have a one slide presentation set to loop until esc. The extent of the simple PP animation is that shape 'MainBoard' fades in and is visible for 20 seconds before fading out. Then it loops to repeat.
For the past 5 years, using PP2007, the OSSNS event has called a sub, ‘MoveMain’ which grabs some data from an Excel file and then repositions the shape ‘MainBoard’. The slide then redisplays / animates the modified slide and loops again. Since being forced into using PP 2013 the automatic looping is being prevented. Slide change / loop progress can only be made with a click or spacebar hit.
Sadly, I do not have the ability to revert to the old set up, not even for testing.

Reduced down to a simple form, instead of calling ‘MoveMain’ I just tested with a one line reposition, here is the OSSNS event code.

Code:
Sub OnSlideShowNextSlide(ByVal Wn As SlideShowWindow)
'called on next slide event to reposition the main leader board object

‘*** Have put watch and debug type code here and it reports back aok !!!

‘Call MoveMain  ‘***now disabled to test one-liner as below

ActivePresentation.Slides(1).Shapes("MainBoard").IncrementTop -20   '*****

End Sub
Without calling 'MoveMain' or the test one-liner everything is fine. My watch / debug bits are being processed and the slide keeps auto-looping as required.

With e.g. the one-liner that moves the MainBoard shape the auto-looping stops and a manual click is required to move it on!!!

So my questions would be.
1) Does the OSSNS event not handle 2013 in the same way that it did 2007 ? Which is probably a question I should direct to the good people at OfficeOne?

2) Is there a workaround ? After the call to 'MoveMain' is there some action that I can invoke that will mimic the now required spacebar hit?

Thanks once again for your time and interest.
Reply With Quote
 

Tags
looping, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Previously good in 2007 - single slide presentation does not automatically loop in 2013  - requires When I create a new macro in Word 2013, it overwrites my previously saved macros. lilihildreth Word VBA 3 02-05-2015 03:27 PM
Previously good in 2007 - single slide presentation does not automatically loop in 2013  - requires Size of a single slide in presentation YvesSaint PowerPoint 2 11-13-2014 02:19 AM
Previously good in 2007 - single slide presentation does not automatically loop in 2013  - requires Word 2013 Recover Previously Saved Data anon Word 1 01-29-2014 09:16 PM
music loop in powerpoint presentation genoMU69 PowerPoint 1 06-15-2011 08:00 AM
PP 2010 .avi file plays during slide show, but causes the slide show to loop to begin VictorS PowerPoint 0 10-16-2010 10:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:59 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft