Results 1 to 9 of 9

Thread: Non-click, non-mouse originated trigger?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,096
    Location
    While the above is the best way to go PowerPoint can react to the new slide in a slide show using

    [vba]Sub OnSlideShowPageChange()
    'Do something
    End Sub[/vba]It is a little flaky though and you may need to call it manually once and then it should fire with every new slide.
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

  2. #2

    Thank you and small additional questions

    Thank you both very much for the information!!!

    Two minor questions:
    When one declares the class/ procedure - does this have to happen on each computer on which the specific power point presentation is run, or is the 'initialization' process coded into the PPT/ PPS itself?

    Also, the function 'OnSlideShowPageChange()': Where can I place this function (I apologize if these are ignorant questions, but I have tried several functions which did not react)? Is it feasible to open Microsoft Script editor and inserting the function in the <Head> portion?

    Again, thank you - this is helping immensely!

  3. #3
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,096
    Location
    Have a look in the kbase on this site. Search for PowerPoint applications and there are examples of both these techniques. If you use the OnSlideShowPageChange idea I would have an action button on slide one that the user presses to start the show. Give it an action of Run Macro. Once the macro has run once it will fire with every new page.
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •