EXCEL Get named range value function

The EXCEL Get named range value function reads the value(s) of a named range.

Help CentreBuilding Processes

This article describes the RPA Excel functionality to read a named range value.

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


Description

The EXCEL Get named range value function reads the value(s) of a named range and stores the result in a variable. Returns a single value for a single cell, or a list for a multi-cell range.


Setting it up

To use the EXCEL Get named range value function, follow these instructions:

{{popups:rpas/add:action=excel-get-named-range}}

Once on a process map:

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

Input parameters

ParameterRequiredTypeDefaultDescription
File pathYesTextFull path to the Excel file.
Range nameYesTextName of the named range to read.
VariableYesTextVariable name to store the value(s) in.

Output variables

VariableTypeDescription
{variable}Text or ListA single value for a single-cell range, or a list of values for a multi-cell range.

Errors

ErrorDescription
File not openThe Excel file must be open.
Named range not foundThe specified named range does not exist in the workbook.

Tips

  • Use List named ranges to discover available named ranges first.
  • For multi-cell ranges, the result is a list that can be used in a loop.

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.