Skip to content

Excel and PowerPoint reports in the classic Workbook Editor

13 min read · Updated 26 Nov 2026

This page covers Excel and PowerPoint reports built with action blocks in the classic Workbook Editor. To send reports and data on a schedule from the lobby, see Reporting and workflows.

An Excel or PowerPoint report starts from a template file you design in Excel or PowerPoint. While the report is generated, action blocks write workbook data into the template: rows into Excel tables, values into cells, text into slide shapes, data into charts, and screenshots of workbook objects in place of images. The template keeps its own formulas, formatting and layout. People can then download the result from a button, have it emailed, or receive it on a schedule.

  • The report categories. The Excel reporting and PowerPoint reporting categories appear in the Actions editor only when these features are turned on for your workspace.
  • A template. An Excel report needs an .xlsx template. A PowerPoint report needs a .pptx template, and an .xlsx template as well if it uses Excel charts or sheets.
  • Names in the template. Blocks find their targets by name, so give them names in Excel or PowerPoint first: Excel tables or named ranges for imported rows, sheet and chart names, and shape and image names on slides (PowerPoint’s Selection Pane shows and renames them).
  • The template in the Gallery. Upload the file to the workbook’s Media Gallery, as described in Upload images to the Gallery. Turn on Add to tenant to make it shared media that every workbook can use; administrators manage shared media in Manage workspace media.

Report blocks run in the workbook and in workbook embeds. They do not run in other embed types.

  1. Open the workbook’s actions and select the Excel reporting category.
  2. Drag the Report block onto the canvas. It reads Report: … Template: … Initial sheet: … and starts with the name My Excel Report.
  3. Give the report a name. Delivery blocks and schedules list the report by this name.
  4. Under Template, choose the .xlsx template from the workbook’s or the workspace’s media.
  5. Under Initial sheet, choose the workbook sheet that is open when generation starts.
  6. Put the blocks that fill the template inside the Report block, in the order they should run. See Fill an Excel template.

Blocks from other categories, such as filter, variable and logic blocks, also run inside the report. For example, a report can set two filters, import a table’s export data into the template’s Table1, and then show a Details sheet only when a Boolean report input is true.

  1. In the PowerPoint reporting category, drag the PowerPoint Report block onto the canvas. It reads PowerPoint Report … Template: … Excel template (optional): … Initial sheet: … and starts with the name My PowerPoint Report.
  2. Give the report a name.
  3. Under Template, choose the .pptx template.
  4. Under Excel template (optional), choose an .xlsx template if the presentation takes charts, chart data or sheet images from Excel. Leave it empty otherwise.
  5. Under Initial sheet, choose the workbook sheet that is open when generation starts.
  6. Put the blocks that fill the presentation inside the PowerPoint Report block. See Fill a PowerPoint template.

The Excel blocks in Fill an Excel template also run inside a PowerPoint Report block, where they change its Excel template. The exception is the two Excel Replace image … with a screenshot of blocks, which run only in an Excel report; in a presentation, use the slide screenshot blocks in Replace images. Run the Excel blocks before the blocks that copy Excel charts or sheets into the slides, so the slides show the updated data.

Report inputs let one report definition serve several purposes, such as one schedule per country.

  1. Select + on the Report or PowerPoint Report block to add an input.

  2. Choose its type, String, Number or Boolean, and give it a name.

  3. Inside the report, add the category’s report input block, which shows Select input, and choose the input. It returns the value passed in, for use in any block that takes a value of that type.

    Report input block with a Select input dropdown.

The value comes from whatever runs the report: a delivery block shows a field for each input once you choose the report, and a report schedule asks for them too.

Every block in the Excel reporting category, apart from the delivery blocks, runs only inside a Report or PowerPoint Report block. Cells take a reference such as A1, or the name of a range that covers one cell. Sheet inputs take the sheet’s name as it appears on its tab.

Block What it does
Import data from object into table or named range name Replace True/False Exports the data of a chart or table and writes it into an Excel table or named range. The object must be visible on the active sheet. If it cannot be read, an error message is written into the range instead.
Import data data into table or named range name Replace True/False Writes a list of rows, each a list of cell values, into a table or named range. The category adds it with a Get export data from block as the data; see Get export data from.
Insert value value into cell cell on sheet sheet Writes a string, number or Boolean into a cell. The category offers one of each.
Insert hyperlink link into cell cell on sheet sheet Writes a hyperlink into a cell.
Insert note note into cell cell on sheet sheet Adds a note to a cell.
Replace image image on Excel sheet sheet with a screenshot of object Replaces a named image in the template with a screenshot of a workbook Object or Group, which can be on another workbook sheet.
Replace image image on Excel sheet sheet with a screenshot of sheet sheet Replaces a named image with a screenshot of a whole workbook sheet.

With Replace set to True, the imported rows replace the existing rows; with False, they are added after them. Importing no rows with Replace set to True empties the range, and a blank value leaves its cell empty. A screenshot keeps its aspect ratio and is centred in the image it replaces.

Import data block reading Get export data from a data object with Excel dates into table or named range Table1, with Replace set to False.

Block What it does
Copy sheet sheet new name name Copies a sheet and places the copy after it.
Rename sheet sheet new name name Renames a sheet.
Delete sheet sheet Deletes a sheet.
Move sheet sheet to position number Moves a sheet. Positions count from 0, so 0 is the first tab.
Show sheet sheet True/False Shows or hides a sheet.
Set sheet sheet tab color color Colors a sheet’s tab. Use a hex code such as #90EE90 or a color name such as LightGreen.
Delete columns list on sheet sheet Deletes columns. List column letters such as B, or ranges such as B:D. Columns to the right move left.
Set width of columns list on sheet sheet Auto/Fixed Auto fits each column to its content. Fixed shows a width field, in Excel’s character units.
Remove formulas from sheet sheet exclude ranges (optional) list Replaces every formula on the sheet with its calculated value, except in the cell ranges or named ranges you list.

New sheet names follow Excel’s rules: unique in the file, not empty, 31 characters at most, not starting or ending with an apostrophe, not History, and none of \ / ? * : [ ].

Block What it does
Set Primary/Secondary axis Min/Max range to number for chart chart sheet sheet Fixes one end of an Excel chart’s axis, so its scale stays the same from report to report.
Set print area range of sheet sheet Sets the range that prints, such as A1:D20. A PDF of the report shows only that range; an XLSX file still holds the whole sheet.

These blocks return a value for other blocks to use, for example to decide whether to delete a sheet.

Block Returns
Get cell cell value from sheet sheet The cell’s value.
Get data from table or named range name The rows of a table or named range, each a list of values.
Get print area of sheet sheet The sheet’s print area, such as A1:D20.
Get number of pages in sheet The number of pages the sheet prints on with its current page setup.

Every block in the PowerPoint reporting category, apart from the delivery blocks, runs only inside a PowerPoint Report block. Slides are numbered from 1, as in PowerPoint. Shapes and images are found by their name on that slide.

Block What it does
Set text of shape shape on slide number to text Replaces all the text in a text box, title or other text shape.
Replace placeholder with text in text of shape shape on slide number Replaces a placeholder such as [DEPARTMENT] inside the shape’s text, keeping the template’s fonts, colors and styles.
Add line text to text to shape shape on slide number with depth number remove existing lines True/False Adds a paragraph, formatted like the shape’s existing ones. Depth sets the indent level, from 1 for the top level.
Add lines list to text to shape shape on slide number remove existing lines True/False Adds one paragraph for each text in a list.
Set notes text of slide number Sets the slide’s speaker notes.
Get notes from slide number Returns the slide’s speaker notes as text.

With remove existing lines set to True, the shape’s text is cleared before the lines are added.

A placeholder is replaced only where the whole placeholder has the same formatting, and only its first occurrence in each run of identically formatted text. Format each placeholder the same way throughout, for example not partly bold.

Add line block adding Hello World! to shape Bullet List on slide 1 with depth 1, with remove existing lines set to True.

Replace block swapping the placeholder [DEPARTMENT] for the value of the Department variable in the text of shape TextBox 1 on slide 1.

Block What it does
Set data of chart chart on slide number with data data Replaces a PowerPoint chart’s data with a list of rows. The category adds it with a Get export data from block as the data.
Update data of chart chart on slide number from external Excel template, range (optional): range Refreshes a chart linked to an external Excel workbook from the report’s Excel template. Give a range such as Sheet1!A1:B10, or leave it empty to keep the chart’s own range.
Update all charts from Excel template Refreshes every chart linked to an external Excel workbook from the report’s Excel template, except charts inside a group.

The two update blocks skip charts whose data is embedded in the presentation, without an error. In PowerPoint, link the chart’s data to the Excel template first, or use Set data of chart instead.

Set data of chart block for Chart 1 on slide 1, with data from a Get export data from block with Excel dates.

Each of these replaces a named image on a slide.

Block Replaces the image with
Replace image image on slide number with a screenshot of object A screenshot of a workbook Object or Group, which can be on another workbook sheet.
Replace image image on slide number with a screenshot of sheet sheet A screenshot of a whole workbook sheet.
Replace image image on slide number with online image URL The image at a web address. Astrato’s servers must be able to reach it.
Replace image image on slide number with Excel chart (as image) chart on sheet sheet A picture of a chart in the report’s Excel template, as if pasted from Excel as a picture.
Replace image image on slide number with Excel sheet (as image) sheet on page number A picture of one printed page of a sheet in the Excel template.

For an Excel sheet image, crop whitespace removes the white margin around the page’s content; padding then keeps that many pixels around it, from 0. Printed gridlines count as content, so turn them off in Excel before you crop. A screenshot keeps its aspect ratio and is centred in the image it replaces.

Replace image Image 1 on slide 1 with Excel chart (as image) Chart 1 on sheet Sheet1.

Block What it does
Show shape on slide number True/False Shows or hides a text box, title or other drawn shape.
Delete shape on slide number Deletes a text box, title or other drawn shape.
Copy slide at position number to position number Inserts a copy of a slide at another position.
Move slide at position number to position number Moves a slide.
Delete slide at position number Deletes a slide.

These two blocks do not find charts or pictures by name, and the report fails if the name is not found. Slide positions change as you copy, move and delete slides, so later blocks must use the new numbers.

The last two blocks in each category download and email the category’s report. Both are a Report Delivery block, used from a button as Run a report from a button describes for PDF reports. Two settings differ for Excel and PowerPoint:

  • In the Report Attachment, choose the report and then its Filetype. See File types.
  • If the report has report inputs, a field for each appears once you choose the report.

Use applied filters, on by default, starts the report from the filters and variable values the person has applied. Max resolution (px), default 1700, is the largest width or height of the window used for screenshots, and DPI factor, default 1, multiplies their pixel density: a factor of 2 gives four times the pixels and takes longer to generate. Custom file name in the Report Attachment names the file.

The Email delivery method takes Recipients, Subject and Email body, which can contain HTML. To send the files as a password-protected zip, use a Zipped Attachments block with Encrypt reports on; Encrypt password must then not be empty. The other delivery methods are in Action blocks.

Workbooks built earlier can contain Open report, Send report, Open PowerPoint report and Send PowerPoint report blocks. They still run, with the same settings.

Report Filetype options
Excel XLSX, PDF, PPTX Beta
PowerPoint PPTX Beta, PPSX, PDF, PPTX & XLSX
  • PDF prints the filled file using the template’s own print settings.
  • PPSX is a PowerPoint slide show.
  • PPTX & XLSX puts the presentation and its filled Excel template in one zip file. The report must have an Excel template; without one, generating it fails.

Publish the workbook after you define the report: schedules offer the reports in the published version. See Publish and versions. Then choose the report on the Attachments tab of a schedule, as described in Create a report schedule. A schedule sends an Excel report as pdf or xlsx, and a PowerPoint report as pdf, pptx, ppsx or pptx & xlsx (zip).