Table of contents
TOC
Collapse the table of content
Expand the table of content

Presentation.FollowHyperlink Method (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Displays a cached document, if it has already been downloaded. Otherwise, this method resolves the hyperlink, downloads the target document and displays it in the appropriate application.

Syntax

expression. FollowHyperlink( Address, SubAddress, NewWindow, AddHistory, ExtraInfo, Method, HeaderInfo )

expression A variable that represents a Presentation object.

Parameters

NameRequired/OptionalData TypeDescription
AddressRequiredStringThe address of the target document.
SubAddressOptionalStringThe location in the target document. By default, this argument is an empty string.
NewWindowOptionalBooleanTrue to have the target application opened in a new window. The default value is False.
AddHistoryOptionalBooleanTrue to add the link to the current day's history folder.
ExtraInfoOptionalStringString or byte array that specifies information for HTTP. This argument can be used, for example, to specify the coordinates of an image map or the contents of a form. It can also indicate a FAT file name. The Method argument determines how this extra information is handled.
MethodOptionalMsoExtraInfoMethodSpecifies how ExtraInfo is posted or appended.
HeaderInfoOptionalStringA string that specifies header information for the HTTP request. The default value is an empty string. You can combine several header lines into a single string by using the following syntax: "string1" &; vbCr &; "string2". The specified string is automatically converted into ANSI characters. Note that the HeaderInfo argument may overwrite default HTTP header fields.

Return Value

Nothing

Remarks

ExtraInfo can be one of these MsoExtraInfoMethod constants.

ConstantDescription
msoMethodGetThe default. ExtraInfo is a String that is appended to the address.
msoMethodPostExtraInfo is posted as a String or byte array.

Example

This example loads the document at example.microsoft.com in a new window and adds it to the history folder.

ActivePresentation.FollowHyperlink _
    Address:="http://example.microsoft.com", _
    NewWindow:=True, AddHistory:=True

See also

Concepts

Presentation Object

© 2018 Microsoft