Export (0) Print
Expand All
Expand Minimize

_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)

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.

Method
Type: System.Object

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

HeaderInfo
Type: System.Object

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

Community Additions

ADD
Show:
© 2014 Microsoft