Skip to content

Latest commit

 

History

History
64 lines (39 loc) · 1.58 KB

Project.Application.EditHyperlink.md

File metadata and controls

64 lines (39 loc) · 1.58 KB
title keywords f1_keywords ms.service api_name ms.assetid ms.date ms.localizationpriority
Application.EditHyperlink method (Project)
vbapj.chm1310
vbapj.chm1310
project-server
Project.Application.EditHyperlink
d652ccc4-207e-933f-c281-a2d5d7db0b76
06/08/2017
medium

Application.EditHyperlink method (Project)

Edits the hyperlink of the selected assignment, resource, or task.

Syntax

expression. EditHyperlink( _Name_, _Address_, _SubAddress_, _ScreenTip_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Name Optional String The name of the hyperlink as it appears in the Hyperlink field.
Address Optional String The address of the target document.
SubAddress Optional String A location within the target document.
ScreenTip Optional String The ScreenTip text for the hyperlink.

Return value

Boolean

Remarks

Using the EditHyperlink method without specifying any arguments displays the Edit Hyperlink dialog box.

Example

The following example first creates a hyperlink in the Gantt Chart view and then change the name to MyHyperLink.

Sub Edit_Hyperlink() 
 
 ViewApply Name:="&Gantt Chart" 
 SelectRow Row:=2, RowRelative:=False 
 InsertHyperlink Name:="https://MSDN", Address:="https://msdn.microsoft.com/", SubAddress:="", ScreenTip:="" 
 
 EditHyperlink Name:="MyHyperLink" 
End Sub

[!includeSupport and feedback]