XL.Sheet.HyperlinkIndex
-----------------------

Checks if the cell contains a hyperlink.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [XL](component_XL.md) | [13.2](newinversion132.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "XL.Sheet.HyperlinkIndex"; BookRef; SheetIndex; Row; Column ) 

**MBS**( **"XL.Sheet.HyperlinkIndex";** /\* Checks if the cell contains a hyperlink. \*/  
**$BookRef**; /\* The reference number for the workbook.e.g. $ref \*/   
**$SheetIndex**; /\* The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1.e.g. 0 \*/   
**$Row**; /\* The row for the cell. First row has index 0. \*/   
**$Column**) /\* The column for the cell. First column has index 0. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| BookRef | The reference number for the workbook. | $ref |
| SheetIndex | The index of the sheet. This number ranges from 0 to [XL.Book.SheetCount](XLBookSheetCount.md)-1. | 0 |
| Row | The row for the cell. First row has index 0. | $row |
| Column | The column for the cell. First column has index 0. | $column |

### Result

Returns number or error.

### Description

Checks if the cell contains a hyperlink.   
Returns an index of hyperlink if exists, -1 if there is no hyperlink in this cell.  
### See also

- [XL.Book.SheetCount](XLBookSheetCount.md)
- [XL.Sheet.Hyperlink](XLSheetHyperlink.md)
- [XL.Sheet.HyperlinkSize](XLSheetHyperlinkSize.md)

### Release notes

- **Version 13.2**
    - Added [XL.Sheet.HyperlinkIndex](https://www.mbsplugins.eu/XLSheetHyperlinkIndex.shtml) function.

### Blog Entries

- [MBS FileMaker Plugin, version 13.2pr6](https://www.mbsplugins.de/archive/2023-05-05/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

Created 5th May 2023 , last changed 13th July 2024

  
[XL.Sheet.Hyperlink](XLSheetHyperlink.md) - [XL.Sheet.HyperlinkSize](XLSheetHyperlinkSize.md)

[HTML Version](XLSheetHyperlinkIndex.shtml)