PowerPoint - Macro to scroll outline view

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

juryu

Thread Starter
Joined
Feb 7, 2003
Messages
18
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?
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Members online

Top