Hyperlink.Follow 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 Follow ( _
    NewWindow As Object, _
    AddHistory As Object, _
    ExtraInfo As Object, _
    Method As Object, _
    HeaderInfo As Object _
)
'Usage
Dim instance As Hyperlink
Dim NewWindow As Object
Dim AddHistory As Object
Dim ExtraInfo As Object
Dim Method As Object
Dim HeaderInfo As Object

instance.Follow(NewWindow, AddHistory, _
    ExtraInfo, Method, HeaderInfo)
void Follow(
    Object NewWindow,
    Object AddHistory,
    Object ExtraInfo,
    Object Method,
    Object HeaderInfo
)

Parameters

  • 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

Hyperlink Interface

Hyperlink Members

Microsoft.Office.Interop.Excel Namespace