EXCEL Add hyperlink function

The EXCEL Add hyperlink function allows you to add a clickable hyperlink to a cell.

Help CentreBuilding Processes

This article describes the RPA Excel functionality to add a hyperlink to a cell.

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


Description

The EXCEL Add hyperlink function adds a clickable hyperlink URL to a cell. The URL is stored as a clickable link and an optional display text can be shown instead of the raw URL.


Setting it up

To use the EXCEL Add hyperlink function, follow these instructions:

{{popups:rpas/add:action=excel-add-hyperlink}}

Once on a process map:

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

Input parameters

ParameterRequiredTypeDefaultDescription
File pathYesTextFull path to the Excel file.
SheetYesTextName of the sheet.
CellYesTextCell address (e.g. A1).
URLYesTextThe URL to link to.
Display textNoTextURL valueText shown in the cell instead of the raw URL.

Output variables

This action does not produce any output variables.


Errors

ErrorDescription
File not openThe Excel file must be open.
Sheet not foundThe specified sheet does not exist.
Invalid cellThe cell reference is not valid.

Tips

  • If display text is not provided, the URL itself is shown in the cell.
  • Use variables in the URL to create dynamic links, e.g. https://example.com/{id}.

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.