![]() |
#1
|
|||
|
|||
![]()
I have a self-running presentation. Some of the slides depend on the time. I have created an Excel file with the time table. The presentation initially reads the valid times for each slide. A slide can be valid till "09.09.2013 17:00". Thereafter it should be hidden. I have done it with VBA function "OnSlideShowPageChange": If the time-table-time is less than now() then move to slide + 1. (.GotoSlide i + 1).
There is however a problem: When the slide should be skipped, it actually shows up, but immediately changes to next slide. Is there a function or property acting in advance - not when the event already has been triggered? Håkan |
#2
|
|||
|
|||
![]()
Couldn't you run the time check on the previous slide and then Hide the next slide if needed
.Slides(i+1).SlideShowTransition.Hidden=msoTrue (or msoFalse) |
#3
|
|||
|
|||
![]()
Thank you for your easy solution. I'll give it a try.
|
#4
|
|||
|
|||
![]()
It does not seem to work as required. However the biggest problem here is that executions won't suspend at breakpoints. Debugging is very troublesome!
Your solution sets hidden permanently. As I already have hidden slides, I don't want to mix with them or by accident unhide a slide I have originally set to hidden. A better solution for my application would be to set the next active slide to i+2. I suppose I'd better use App_SlideShowNextSlide instead but then, how I set the next slide number to ActiveSlide + 2? Håkan |
#5
|
|||
|
|||
![]()
I was suggesting using msoFalse and or msoTrue to hide/unhide as required by checking the time whatever againt the slide number.
You might want to look at a free addin that may do what you need http://www.ppted.com/addins/presenta...planpoint.html |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
mutchy25 | PowerPoint | 1 | 09-21-2012 01:40 AM |
Multiple Monitors/One Presentation/Different Slides | future | PowerPoint | 0 | 12-12-2011 02:20 PM |
How do I swap slides during a presentation? | Harper | PowerPoint | 0 | 08-17-2011 09:13 AM |
![]() |
davepower | PowerPoint | 1 | 04-30-2009 02:18 PM |
How many slides in a 30 min presentation | barbara3010 | PowerPoint | 2 | 02-12-2009 10:12 AM |