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.ObjectOptional Object. True to display the target application in a new window. The default value is False.
AddHistory
Type: System.ObjectOptional Object. Not used. Reserved for future use.
ExtraInfo
Type: System.ObjectOptional 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.
Method
Type: System.ObjectOptional Object. Specifies the way ExtraInfo is attached. Can be one of the following MsoExtraInfoMethod constants.
HeaderInfo
Type: System.ObjectOptional Object. A String that specifies header information for the HTTP request. The default value is an empty string.