Consulting

Results 1 to 2 of 2

Thread: Macros On A Page

  1. #1
    VBAX Regular
    Joined
    May 2011
    Posts
    17
    Location

    Macros On A Page

    Hi Guys,

    How Do I Make A Certain Macro Run Everytime A Certain Powerpoint Slide Is Seen (Powerpoint 2007).

    If You Need More Info Please Tell Me!

    Thanks,
    Eden

  2. #2
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,094
    Location
    The correct (reliable) way is to create a with events class object. This is not straightforward there's an example here:
    http://www.vbaexpress.com/kb/getarticle.php?kb_id=327
    Chirag Dahl has a much simpler way here:
    http://officeone.mvps.org/vba/run_macro_at_slide.html
    HOWEVER this is not reliable in 2007 once you save and reopen PowerPoint. One way to improve reliabilty is to have slide one with NO click transition and a button to click which moves to the next slide with code
    SlideShowWindow(1).View.GoToSlide(2) This seems to kick the codebase into action!
    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
  •