Help Centre › Building Processes
This article describes the RPA Excel functionality to remove a named range.
For a full list of available functions, please read EXCEL functions.
Description
The EXCEL Remove named range function deletes a named range from the workbook. The cells and their values are not affected – only the name reference is removed.
Setting it up
To use the EXCEL Remove named range function, follow these instructions:
{{popups:rpas/add:action=excel-remove-named-range}}
Once on a process map:
- Navigate to the process where you would like to add the EXCEL Remove named range function
- Click on the green button's drop-down (right side of the green button labelled "Process")
- On the menu that appears, click on the "+ Activity" item
- From here you can select the EXCEL Remove named range option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File path | Yes | Text | – | Full path to the Excel file. |
| Range name | Yes | Text | – | Name of the named range to remove. |
Output variables
This action does not produce any output variables.
Errors
| Error | Description |
|---|---|
| File not open | The Excel file must be open. |
| Named range not found | The specified named range does not exist. |
Tips
- Removing a named range does not delete the cells or their values.
- Any formulas referencing the named range will show a #NAME? error after removal.