Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.6 KB

Project.Application.FollowHyperlink.md

File metadata and controls

55 lines (35 loc) · 1.6 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.FollowHyperlink method (Project)
vbapj.chm1307
vbapj.chm1307
project-server
Project.Application.FollowHyperlink
d612e80b-93c1-7312-d164-be552b580370
06/08/2017
medium

Application.FollowHyperlink method (Project)

Opens the document specified by a hyperlink address.

Syntax

expression. FollowHyperlink( _Address_, _SubAddress_, _AddHistory_, _NewWindow_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Address Optional String The address of the target document. If Address is omitted and a text field is selected, the text of the selected field is used. If Address is omitted and a text field is not selected, Project returns an error.
SubAddress Optional String A location within the target document.
AddHistory Optional Boolean True if the target document should be added to the History folder. The default value is True.
NewWindow Optional Boolean True if the target document should display in a new window. The default value is False.

Return value

Boolean

Example

The following example opens a hyperlink to the Microsoft Web site in its own window.

Sub GoToMicrosoft() 
    Application.FollowHyperlink Address:="https://www.Microsoft.com", _ 
        NewWindow:=True, AddHistory:=True 
End Sub

[!includeSupport and feedback]