_Workbook.FollowHyperlink Method

Displays a cached document if it’s already been downloaded. Otherwise, this method resolves the hyperlink, downloads the target document, and displays the document in the appropriate application.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Sub FollowHyperlink ( _
    Address As String, _
    SubAddress As Object, _
    NewWindow As Object, _
    AddHistory As Object, _
    ExtraInfo As Object, _
    Method As Object, _
    HeaderInfo As Object _
)
'Usage
Dim instance As _Workbook
Dim Address As String
Dim SubAddress As Object
Dim NewWindow As Object
Dim AddHistory As Object
Dim ExtraInfo As Object
Dim Method As Object
Dim HeaderInfo As Object

instance.FollowHyperlink(Address, SubAddress, _
    NewWindow, AddHistory, ExtraInfo, _
    Method, HeaderInfo)
void FollowHyperlink(
    string Address,
    Object SubAddress,
    Object NewWindow,
    Object AddHistory,
    Object ExtraInfo,
    Object Method,
    Object HeaderInfo
)

Parameters

  • Address
    Type: System.String

    Required String. The address of the target document.

  • SubAddress
    Type: System.Object

    Optional Object. The location within the target document. The default value is the empty string.

  • NewWindow
    Type: System.Object

    Optional Object. True to display the target application in a new window. The default value is False.

  • AddHistory
    Type: System.Object

    Optional Object. Not used. Reserved for future use.

  • ExtraInfo
    Type: System.Object

    Optional Object. A string or byte array that specifies additional information for HTTP to use to resolve the hyperlink. For example, you can use ExtraInfo to specify the coordinates of an image map, the contents of a form, or a FAT file name.

  • HeaderInfo
    Type: System.Object

    Optional Object. A string that specifies header information for the HTTP request. The default value is an empty string.

See Also

Reference

_Workbook Interface

_Workbook Members

Microsoft.Office.Interop.Excel Namespace