Skip to content

Files

Latest commit

 

History

History
47 lines (30 loc) · 1.74 KB

Excel.Hyperlink.Follow.md

File metadata and controls

47 lines (30 loc) · 1.74 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Hyperlink.Follow method (Excel)
vbaxl10.chm536082
vbaxl10.chm536082
Excel.Hyperlink.Follow
cdf02d4c-9987-eaed-061b-0f3813d4204b
04/26/2019
medium

Hyperlink.Follow method (Excel)

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.

Syntax

expression.Follow (NewWindow, AddHistory, ExtraInfo, Method, HeaderInfo)

expression A variable that represents a Hyperlink object.

Parameters

Name Required/Optional Data type Description
NewWindow Optional Variant True to display the target application in a new window. The default value is False.
AddHistory Optional Variant Not used. Reserved for future use.
ExtraInfo Optional Variant 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 Optional Variant Specifies the way ExtraInfo is attached. Can be one of the MsoExtraInfoMethod constants.
HeaderInfo Optional Variant A String that specifies header information for the HTTP request. The default value is an empty string.

Example

This example loads the document attached to the hyperlink on shape one on worksheet one.

Worksheets(1).Shapes(1).Hyperlink.Follow NewWindow:=True

[!includeSupport and feedback]