Supercharge your PowerPoint productivity with
|
PPTools |
Thanks to PPT newsgroup regular Chirag Dalal for this: You need to open the presentation itself without a window. 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. Español Deutsch Français Português Italiano Nederlands Greek Japanese Korean Chinese |
Supercharge your PPT Productivity with PPTools
|
content authoring & site maintenance by |
Hide PowerPoint while I automate it
http://www.pptfaq.com/FAQ00307.htm
Last update 09 September, 2006