NativeExcel2 for .Net Developer's Reference

IHyperlinks.AddMethod(Object, String, String)

Adds a hyperlink given the specified anchor, address and subaddress.

[Visual Basic]
FunctionAdd(_
ByValAnchorAsObject,_
ByValAddressAsString,_
ByValSubAddressAsString_
)AsIHyperlink
[C#]
IHyperlinkAdd(
objectAnchor,
stringAddress,
stringSubAddress
);
[C++]
IHyperlink*Add(
Object*Anchor,
String*Address,
String*SubAddress
);
[JScript]
functionAdd(
ObjectAnchor,
StringAddress,
StringSubAddress
):IHyperlink;

Parameters

Anchor
Object. The anchor for the hyperlink. Can be either an IRange interface or String which represents a range.
Address
String. The address of the hyperlink.
SubAddress
String. The subaddress of the hyperlink.

Return Value

IHyperlink interface.

See Also

IHyperlinks Interface | NativeExcel Namespace | IHyperlinks.Add Overload List