insertHyperLink method

This method inserts a hyperlink in the current range.

Defined in

Range

Syntax

public void insertHyperLink( String displayName, String url )

Parameters

String displayName

Specifies the name of this link to display.

String url

Specifies the URL of this link. You can link to a internet address or a sheet in the current spreadsheet. For example, if you want to insert a link for a sheet named "A", then the value for this parameter is "#A".

See examples

Example: InsertHyperLink method