Excel: List named ranges

List all named ranges in the workbook and store in a variable.

Help Centre › Building Processes

List all named ranges in the workbook and store in a variable.

Runs on: macOS and Windows only.

Add it to a process

In the process designer, open the Add step tab. Find List named ranges under Excel › Charts & Tables, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathNoEnter the file path, or use a variable such as {folders::desktop::path}\file.xlsx. Leave blank to use the workbook an earlier step opened.
VariableYesVariable name to store the list of named ranges in.

What it gives back

  • {variable}

See all Excel steps.

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

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.