Method: ExportToPowerPoint for Sheets
- Updated2024-09-12
- 1 minute(s) read
DIAdem REPORT > Methods > Method: ExportToPowerPoint for Sheets
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)
| Object | Sheets Object with this method |
| FileName | String Specifies the path and the filename of the PowerPoint file. |
The following example exports all worksheets to the PowerPoint file MySheets:
| VBScript | Python |
Call Report.Sheets.ExportToPowerPoint("d:\MySheets")
See Also
Related Topics
Command: ExecuteExclusiveBegin | Command: ExecuteExclusiveEnd | Command: ExecuteExclusiveEndAll