EasyXLS

Hyperlinks

EasyXLS™ library allows you to export Excel files with hyperlinks. The hyperlink is placed on a cell range.

There are four types of hyperlinks:
- Hyperlink to an URL
- Hyperlink to a file
- Hyperlink to a UNC
- Hyperlink to a cell from a sheet

The hyperlink also includes description, text mark and tool tip. A text mark is a link inside the file.

The component also allows reading hyperlinks from Excel files.

Source code sample

The below example shows how to export an Excel file with hyperlinks on a cell or cell ranges.

C#.NET
VB.NET
C++
Java
PHP
ASP
VB6
VBS
Coldfusion
Python

The screen shot provides an example of an Excel file with hyperlinks to URL, file, UNC, another sheet and name.

Read, export hyperlink to Excel

Export hyperlink to Excel file

EasyXLS allows you to export Excel files with hyperlinks using ExcelWorksheet.easy_addHyperlink method. The above code sample shows how to achieve this goal.

Read hyperlink from Excel file

EasyXLS allows you to read hyperlinks from Excel file using ExcelWorksheet.easy_getHyperlinkAt method. The Excel file must be imported first and after that the hyperlinks are available on each sheet.


 

Available for: Professional, Excel Writer, Excel Reader
Go to top

EasyXLS Excel libraries:

.NET
.NET Excel Library
full .NET version to import, export or convert Excel files
COM+ Excel Library
full COM+ version to import, export or convert Excel files
-
Java
Java Excel Library
full Java version to import, export or convert Excel files
Download EasyXLS™ Excel Library for .NET and Java

File formats:

Office 365
MS Excel 2021 - 2024
MS Excel 2007 - 2019
MS Excel 97 - 2003
XLSXXLSMXLSBXLS
XMLHTMLCSVTXT