|
-
Dec 19th, 2009, 02:39 PM
#1
Thread Starter
Lively Member
[RESOLVED] VBA Powerpoint Slide History
I want to create a button that will go back to the slides that have been viewed,
i have tried using the .LastSlideViewed Property but this only returns back to the previously viewed slide, i need to go back through the whole history of viewed slides.
any help will be much appreciated.
Thank You
-
Dec 21st, 2009, 08:20 PM
#2
Addicted Member
Re: VBA Powerpoint Slide History
This can be done, but it's not an easy thing to do. I posted this onVBA Express:
You can set up a global array to hold the last 10 slide numbers, and whenever you advance slides, add the current slide number to the top of the list, and drop the 11th slide number. The back button would go to the previous and drop the top number.
If you only allow advancing thorugh buttons, you could have them run a macro to do this, but if you allow the user to advance through the built-in methods (mouse click, using the slide menu at the lower left, or typing the slide number and pressing the enter key) then you need to build the array when the slide changes, and this is a lot more involved.
-
Dec 23rd, 2009, 08:44 PM
#3
Thread Starter
Lively Member
Re: VBA Powerpoint Slide History
Hi, thanks for your reply, i figured out how to do what i needed without maintaining a slide history.
-
Mar 30th, 2011, 05:47 AM
#4
New Member
Re: [RESOLVED] VBA Powerpoint Slide History
Hi,
Is there any chance you could tell me how you did this?
I am having the same query.
Cheers
-
Apr 14th, 2011, 05:51 PM
#5
Thread Starter
Lively Member
Re: [RESOLVED] VBA Powerpoint Slide History
Hi, as far as I can remember, I couldn't really find an automatic way of maintaining slide history. So what I did was to, use the .LastSlideViewed for most slides. In some cases, I used go to slide instead, for cases where I needed to go back to a particular slide that might not have been seen before.
I hope that helps.
If your still having problems, please explain what you are trying to do in more detail, and I might be able to help.
Good Luck.
Last edited by Khadafi; Apr 14th, 2011 at 06:01 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|