Supercharge your PowerPoint productivity with
Supercharge your PPT Productivity with PPTools - Click here to learn more.

PPTools

Image Export converts PowerPoint slides to high-quality images.

Shape Styles brings styles to PowerPoint. Apply complex formatting with a single click.

Merge Excel data into PowerPoint presentations to create certificates, awards presentations, personalized presentations and more

FixLinks prevents broken links when you distribute PowerPoint presentations

Optimizer saves disk space and bandwidth, "right-sizes" your PowerPoint presentations for email, screenshow or printing

PPT2HTML gives you full control of PowerPoint HTML output, helps meet Section 508 accessibility requirements

Prep4PDF preserves interactivity in PowerPoint presentations when you convert to PDF

PowerPoint event-handling best practices, oddities and workarounds

The Close event fires when I print a presentation
Thanks to PowerPoint MVP Shyam Pillai for this:
When you print a presentation, PowerPoint's print engine appears to work with a copy of the presentation.
When the printing ends, PowerPoint closes this copy, which in turn fires the Close Event.

Note also that this hidden presentation has no path (reasonable, since it hasn't been saved).

Disable event handling while handling events
It's a good idea to set a flag variable in your event handler and to check for its value before responding to events.
You usually don't want to respond to events that your event-handling code has triggered.


Did this solve your problem? If so, please consider supporting the PPT FAQ with a small PayPal donation.
Page copy protected against web site content infringement by Copyscape Contents © 1995 - 2011 Stephen Rindsberg, Rindsberg Photography, Inc. and members of the MS PowerPoint MVP team. You may link to this page but any form of unauthorized reproduction of this page's contents is expressly forbidden.
Español    Deutsch    Français    Português    Italiano    Nederlands    Greek    Japanese    Korean    Chinese

Supercharge your PPT Productivity with PPTools

content authoring & site maintenance by
Friday, the automatic faq maker (logo)
Friday - The Automatic FAQ Maker

PowerPoint event-handling best practices, oddities and workarounds
http://www.pptfaq.com/FAQ00675_PowerPoint_event-handling_best_practices-_oddities_and_workarounds.htm
Last update 07 June, 2011
Created: