NativeExcel for .Net Developer's Reference

IHyperlink.Address Property

Returns or sets the address of the target document.

[Visual Basic]
PropertyAddressAsString
[C#]
stringAddress{get;set;}
[C++]
__propertyString*get_Address();
__propertyvoidset_Address(String*);
[JScript]
functiongetAddress():String
functionsetAddress(String);

Example

This example changes the address of the first hyperlink on worksheet one.

[C#]
book.Worksheets[1].Hyperlinks[1].Address = "http://www.nika-soft.com";
[VisualBasic]
book.Worksheets(1).Hyperlinks(1).Address = "http://www.nika-soft.com"
[C++]
book->Worksheets->Item[1]->Hyperlinks->Item[1]->Address = S"http://www.nika-soft.com";

See Also

IHyperlink Interface | NativeExcel Namespace | IWorksheet.Hyperlinks Property | IRange.Hyperlinks Property | IHyperlinks Interface