NativeExcel for .Net Developer's Reference

IHyperlink.Address Property

Returns or sets the address of the target document.

[Visual Basic]
Property Address As String
[C#]
string Address { get; set; }
[C++]
__property String* get_Address();
__property void set_Address(String* );
[JScript]
function get Address() : String
function set Address(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";
[Visual Basic]
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