_Workbook.FollowHyperlink(String, Object, Object, Object, Object, Object, Object) _Workbook.FollowHyperlink(String, Object, Object, Object, Object, Object, Object) Method

Definition

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.

public void FollowHyperlink (string Address, object SubAddress, object NewWindow, object AddHistory, object ExtraInfo, object Method, object HeaderInfo);
Public Sub FollowHyperlink (Address As String, Optional SubAddress As Object, Optional NewWindow As Object, Optional AddHistory As Object, Optional ExtraInfo As Object, Optional Method As Object, Optional HeaderInfo As Object)

Parameters

Address
String String

Required String. The address of the target document.

SubAddress
Object Object

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

NewWindow
Object Object

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

AddHistory
Object Object

Optional Object. Not used. Reserved for future use.

ExtraInfo
Object 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.

Method
Object Object

Optional Object. Specifies the way ExtraInfo is attached. Can be one of the MsoExtraInfoMethod constants.

HeaderInfo
Object Object

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

Applies to