Returns an IHyperlinks interface that represents the collection of hyperlinks in the specified range.
[Visual Basic] Property ReadOnly Hyperlinks As IHyperlinks [C#] IHyperlinks Hyperlinks { get; } [C++] __property IHyperlinks* get_Hyperlinks(); [JScript] function get Hyperlinks() : IHyperlinks
IHyperlinks interface.
The following example creates a new hyperlink for cell A1.
[C#]
book.Worksheets[1].Range.Hyperlinks.Add("A1", "http://www.nika-soft.com/");
[Visual Basic]
book.Worksheets(1).Range.Hyperlinks.Add("A1", "http://www.nika-soft.com/")
[C++]
book->Worksheets->Item[1]->Range->Hyperlinks->Add(S"A1", S"http://www.nika-soft.com/");
This example deletes hyperlinks from range A1:F5 [C#]
book.Worksheets[1].Range["A1:F5"].Hyperlinks.Delete();
[Visual Basic]
book.Worksheets(1).Range("A1:F5").Hyperlinks.Delete()
[C++]
book->Worksheets->Item[1]->Range->Item[S"A1:F5"]->Hyperlinks->Delete();
IRange Interface | NativeExcel Namespace | IHyperlinks Interface