EXCEL List named ranges function

The EXCEL List named ranges function lists all named ranges in the workbook.

Help CentreBuilding Processes

This article describes the RPA Excel functionality to list all named ranges.

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


Description

The EXCEL List named ranges function lists all named ranges in the workbook. Returns a list of objects, each containing the range name, the cell address it refers to, and the sheet name.


Setting it up

To use the EXCEL List named ranges function, follow these instructions:

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

Once on a process map:

  1. Navigate to the process where you would like to add the EXCEL List named ranges 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 named ranges option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
File pathYesTextFull path to the Excel file.
VariableYesTextVariable name to store the list of named ranges in.

Output variables

VariableTypeDescription
{variable}ListA list of objects, each with name, address, and sheet properties.

Errors

ErrorDescription
File not openThe Excel file must be open.

Tips

  • Use in a loop to iterate over all named ranges in the workbook.
  • Combine with Get named range value to read the contents of each range.

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.