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

Hide PowerPoint while I automate it

Thanks to PPT newsgroup regular Chirag Dalal for this:

You need to open the presentation itself without a window.
Something like the following would work:

Dim oPPTApp as Powerpoint.Application
Dim oPPTPres as PowerPoint.Presentation
Dim sFileName as String

Set oPPTApp = New PowerPoint.Application

sFileName = "c:\some_folder\presentation.ppt"

Set oPPTPres = oPPTApp.Presentations.Open(sFileName, WithWindow:=msoFalse)

' Do your stuff

Don't use the .Select method or do anything that references the document window, activewindow etc.

See How do I use VBA code in PowerPoint? to learn how to use this example code.

Page copy protected against web site content infringement by Copyscape Contents © 1995 - 2010 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

Hide PowerPoint while I automate it
http://www.pptfaq.com/FAQ00307.htm
Last update 09 September, 2006
Created: