Help Centre › Building Processes
This article describes the RPA Excel functionality to read a hyperlink from a cell.
For a full list of available functions, please read EXCEL functions.
Description
The EXCEL Get hyperlink function reads the hyperlink URL from a cell and stores it in a variable. This is useful for extracting URLs from spreadsheets for further processing.
Setting it up
To use the EXCEL Get hyperlink function, follow these instructions:
{{popups:rpas/add:action=excel-get-hyperlink}}
Once on a process map:
- Navigate to the process where you would like to add the EXCEL Get hyperlink 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 Get hyperlink option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File path | Yes | Text | – | Full path to the Excel file. |
| Sheet | Yes | Text | – | Name of the sheet. |
| Cell | Yes | Text | – | Cell address (e.g. A1). |
| Variable | Yes | Text | – | Variable name to store the URL in. |
Output variables
| Variable | Type | Description |
|---|---|---|
| {variable} | Text | The hyperlink URL from the cell, or empty if no hyperlink exists. |
Errors
| Error | Description |
|---|---|
| File not open | The Excel file must be open. |
| Sheet not found | The specified sheet does not exist. |
| Invalid cell | The cell reference is not valid. |
Tips
- Returns an empty value if the cell does not contain a hyperlink.
- Use this with the Browser Go to URL action to navigate to extracted links.