NativeExcel for .Net Developer's Reference

IHyperlinks.AddMethod(Object, String, String, String)

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

[Visual Basic]
FunctionAdd(_
ByValAnchorAsObject,_
ByValAddressAsString,_
ByValSubAddressAsString,_
ByValScreenTipAsString_
)AsIHyperlink
[C#]
IHyperlinkAdd(
objectAnchor,
stringAddress,
stringSubAddress,
stringScreenTip
);
[C++]
IHyperlink*Add(
Object*Anchor,
String*Address,
String*SubAddress,
String*ScreenTip
);
[JScript]
functionAdd(
ObjectAnchor,
StringAddress,
StringSubAddress,
StringScreenTip
):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.
ScreenTip
String. The screen tip to be displayed when the mouse pointer is paused over the hyperlink.

Return Value

IHyperlink interface.

See Also

IHyperlinks Interface | NativeExcel Namespace | IHyperlinks.Add Overload List