1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

PowerPoint - Macro to scroll outline view

Discussion in 'Software Development' started by juryu, Sep 18, 2003.

Thread Status:
Not open for further replies.
  1. juryu

    juryu Thread Starter

    Feb 7, 2003
    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?
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 733,556 other people just like you!

Similar Threads - PowerPoint Macro scroll
  1. Tssash
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/165813

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice