PowerPoint - Macro to scroll outline view Hi again,
Sorry this is not a very specific question but more of a "do you have any ideas?" So I hope you have patience to read this...
I have this event handler that runs during slideshow, and what it has to do is scroll the outilne view so that the title of the current slide is more or less in the middle of the outline window. Normally, if you start a slideshow and go next... next... next... the current slide will stay in the bottom of the outline.
I used SmallScroll, like if the title has 3 lines of text I do SmallScroll(3) when it goes to the next slide... it works fine.
During the presentation if you type a number and enter, then you move to a far away slide... I've done a loop to calculate the necessary scrolling between the previous line and the one we jumped to, and it also works.
Here's the problem: the presentations I'm working with are huge, like 1000 slides or more, and if you do something like SmallScroll(500) it scrolls... and scrolls... you go get a cup of coffee and it's still scrolling... and I need this thing to be faster.
(Now you can go "whaaat? a presentation with 1000 slides?" Yeah. I know. Don't ask me, it wasn't my idea.)
Things I have considered: I could use LargeScroll, but then it scrolls one "screen" and how am I supposed to know how many SmallScrolls correspond to one LargeScroll?
ScrollIntoView would be nice, but I've read that this can't be used with outline window. And even if it did, I don't know how to get the Shape object for the titles showing in the outline.
That was all I had to say. Can someone give me a hand? |