PowerPoint Integration
  • 03 Apr 2024
  • 4 Minutes to read
  • Dark
    Light

PowerPoint Integration

  • Dark
    Light

Article Summary

Overview

ReportWORQ supports updating PowerPoint Presentations with information from Excel-based Reports that are processed in a ReportWORQ Job.  To enable this functionality to choose PowerPoint from the output formats list in the Distribution screen and then provide a PowerPoint file as the template for ReportWORQ to use.  After refreshing data in the job reports ReportWORQ will scan the PowerPoint presentation for data links and save a new output file.  Data links are created by selecting shapes in the PowerPoint presentation and providing a special syntax in the Alt Text field of each shape where data should be linked. To do this first, select the shape, right-click, and choose Edit Alt Text.  The first line of the Alt Text is the name of the ReportWORQ report which data should be sourced from.  Note that this is not the name of the Excel file, but rather the Report name as it appears in the ReportWORQ reports list.  The second line is the name of the worksheet from within that report to source data.  When the PowerPoint shape is a text frame no additional information is needed.  The text frame will then reference cells and named ranges from that worksheet directly in the text of the text frame. When the PowerPoint shape is a table or an image then the 3rd line of the Alt Text will reference the Excel range, picture, or chart name to be copied into the shape.

Training Video

https://quebit.wistia.com/medias/l3savgeg5q

Using Parameters

ReportWORQ supports replicating slides or groups of slides using ReportWORQ parameters. For example, if you have a slide that presented sales information for a product but want a copy of that product for a list of products, this can be achieved using a ReportWORQ parameter. In ReportWORQ, when a parameter is configured on a worksheet and that parameter value results in a list of items, ReportWORQ will make a copy of the worksheet for each item. The same is true when this worksheet is used by a PowerPoint slide. If the worksheet is copied several times for each parameter item, then the slide will be copied as well. If adjacent slides all use the same worksheet, then the group of slides will be replicated and collated together. For example, if you have an overview followed by a detail slide, and both slides sourced data from the same worksheet that is copied several times, then the pair of slides will be copied as a group so that each overview slide is followed by its adjacent detail slide. In ReportWORQ, a PowerPoint slide can source data from multiple worksheets however it is only possible for one of those worksheets to be replicated. If a slide sources data from multiple worksheets that are replicated, then the process will fail with an error message.

Conditional Formatting

ReportWORQ supports retaining font text color and bold style from the Excel cell. This is often useful when a cell contains conditional formatting to emphasize the text style based on Excel formulas and logic. Text color and bold are the only supported style options, all other formatting style options will be ignored. Conditional Formatting is only applicable when linking data to a text frame or a table. To enable conditional formatting append an additional line in the alt text field with the keyword "CopyFormat". 

Link Syntax

The syntax for the Alt Text field is as follows:

  • ReportWORQ Report Name

  • Excel Sheet Name

  • Shape Name or Range Address - 

    • Required for picture, chart, or table and omitted for text frame

  • CopyFormat keyword

    • Provide this keyword for a text frame or table to enable conditional formatting functionality.

Shape Support

  • Chart - The address field in the alt text references the name of an Excel Chart. In this case, the PowerPoint shape must be a Picture Box.  The shape’s picture will be replaced with a resized image of the Excel Chart.

  • Text Frame - ReportWORQ will replace each parameter {address} inside the Text Frame with the corresponding Excel Range, where the address is a named range or cell location on the specified Excel Sheet. ReportWORQ will replace the text within the text frame while retaining the formatting. The Address field in the Alt Text is ignored.

  • Table - ReportWORQ will resize the rows/cols of the PowerPoint table to match the source range size and will then replace the text in each cell with the corresponding cell from the Excel Range.

  • Picture Box - ReportWORQ will replace the Picture Box image with an image of the Excel address location.

Distribution Output Options


The following settings can be adjusted in the Output Options dialog which can be launched from the Distribution tab of the Job Editor.

  • Resolution settings: PowerPoint files with many images can become large. The image quality can be reduced (or increase) to adjust the file size if required.

  • PDF Conversion: PowerPoint files can be converted to PDFs to allow recipients without access to PowerPoint to view the distributed files.

  • Low quality PDFs can be produced if the output size is too large by selecting the 'Low-quality PDF' option.

  • Maintain Aspect Ratio: Allows users to import Excel items while retaining their original aspect ratio, or alternately fit into the frame defined by a shape in PowerPoint. Note that the height may still change if additional rows are generated based on a dynamic refresh. This is a global setting that applies to the entire job. Keywords are applied to override the default behavior for a specific shape. The "FitToFrame" or "MaintainAspect" keywords can be used depending on what setting should be ignored for a specific shape. For example, if "Maintain Aspect Ratio" is selected in the Distribution Output Options sidebar then the "FitToFrame" keyword can be used on one or many shapes, overriding the "Maintain Aspect Ratio" selection.

  • Sort slides by worksheet order: By default, replicated slide variations are placed adjacent to each other. However, this might not match the output order of the linked Excel sheets. Use this option to automatically reorder slides to match the order of the worksheets with how they are laid out in the slides.



Was this article helpful?

What's Next