'Declaration
Public Overloads Function Add( _ ByVal destinationAddress As String, _ ByVal cellAddress As String, _ Optional ByVal hyperlinkRowLength As Integer, _ Optional ByVal hyperlinkColumnLength As Integer, _ Optional ByVal textToDisplay As String, _ Optional ByVal tooltip As String _ ) As Hyperlink
'Usage
Dim instance As HyperlinkCollection Dim destinationAddress As String Dim cellAddress As String Dim hyperlinkRowLength As Integer Dim hyperlinkColumnLength As Integer Dim textToDisplay As String Dim tooltip As String Dim value As Hyperlink value = instance.Add(destinationAddress, cellAddress, hyperlinkRowLength, hyperlinkColumnLength, textToDisplay, tooltip)
Parameters
- destinationAddress
- The address that corresponds to the Hyperlink's destination. This can be the Address of a Cell, an external document, a website or an email address.
- cellAddress
- The Address of the Cell where the Hyperlink will be located.
- hyperlinkRowLength
- Specifies on how many vertical Cells the Hyperlink will be active. The default is 1.
- hyperlinkColumnLength
- Specifies on how many horizontal Cells the Hyperlink will be active. The default is 1.
- textToDisplay
- The Cell’s text, if it is different from the existing one. The default value is null.
- tooltip
- The tooltip text that will be displayed on mouse over.