HotXLS Docs

Count property

Returns the number of hyperlinks in a IXLSHyperlinks collection. Read only Integer.

Syntax

property Count: Integer;

Example

This example displays the number of hyperlinks on Worksheet one.

MessageDlg(inttostr(Workbook.Sheets[1].Hyperlinks.Count) + ' hyperlinks on Worksheet one.',
           mtInformation, [mbOk], 0);
This example displays the number of hyperlinks on range A1:D10.

MessageDlg(inttostr(Workbook.Sheets[1].Range['A1','D10'].Hyperlinks.Count) + ' hyperlinks on A1:D10.',
           mtInformation, [mbOk], 0);