title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.FollowHyperlink method (Project) |
vbapj.chm1307 |
|
project-server |
|
d612e80b-93c1-7312-d164-be552b580370 |
06/08/2017 |
medium |
Opens the document specified by a hyperlink address.
expression. FollowHyperlink
( _Address_
, _SubAddress_
, _AddHistory_
, _NewWindow_
)
expression A variable that represents an Application object.
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. |
Boolean
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]