EXCEL List tables function

The EXCEL List tables function lists all structured tables in a sheet.

Help CentreBuilding Processes

This article describes the RPA Excel functionality to list all structured tables in a sheet.

For a full list of available functions, please read EXCEL functions.


Description

The EXCEL List tables function lists all structured tables in the current sheet. Returns a list of objects with name, display_name, range, style, has_headers, and has_totals.


Setting it up

To use the EXCEL List tables function, follow these instructions:

{{popups:rpas/add:action=excel-list-tables}}

Once on a process map:

  1. Navigate to the process where you would like to add the EXCEL List tables function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the EXCEL List tables option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File pathYesTextFull path to the Excel file.
SheetYesTextName of the sheet.
VariableYesTextVariable name to store the list of tables in.

Output variables

VariableTypeDescription
{variable}ListList of table objects with name, display_name, range, style, has_headers, and has_totals.

Errors

ErrorDescription
File not openThe Excel file must be open.
Sheet not foundThe specified sheet does not exist.

Tips

  • Use this to check which tables exist before adding or removing tables.
  • The returned list includes each table's range, which is useful for further processing.

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.