DIAdem Help

Method: ExportToPowerPoint for Sheets

  • Updated2024-09-12
  • 1 minute(s) read

Method: ExportToPowerPoint for Sheets

Exports all worksheets from DIAdem REPORT to a PowerPoint file. If the PowerPoint file already exists, DIAdem overwrites the PowerPoint file. DIAdem generates a PPTX file with the same number of slides as there are pages in your report. Every page displays the name and layout of the page as a graphic. 

You can customize the PowerPoint export template to match your corporate layout. To do so, edit or replace the PPTX file PowerPointTemplate.pptx. The file is in the Resource folder of your DIAdem program folder. This template must contain at least two wildcards in the user-defined layout: one for text and one for graphics. You can position both placeholders anywhere in the slide master.

The PPT export does not require that PowerPoint is installed. To edit the template, you require PowerPoint as of version 2007.

Object.ExportToPowerPoint(FileName)
ObjectSheets
Object with this method
FileNameString
Specifies the path and the filename of the PowerPoint file.

The following example exports all worksheets to the PowerPoint file MySheets:

VBScriptPython

 

Call Report.Sheets.ExportToPowerPoint("d:\MySheets")

Log in to get a better experience