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

Application.EditHyperlink Method (Project)

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

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


expression. EditHyperlink( ** Name, ** Address, ** SubAddress, ** ScreenTip )

expression A variable that represents an Application object.


NameRequired/OptionalData TypeDescription
NameOptionalStringThe name of the hyperlink as it appears in the Hyperlink field.
AddressOptionalStringThe address of the target document.
SubAddressOptionalStringA location within the target document.
ScreenTipOptionalStringThe ScreenTip text for the hyperlink.

Return Value



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


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:="http://MSDN", Address:="", SubAddress:="", ScreenTip:="" 

 EditHyperlink Name:="MyHyperLink" 
End Sub
© 2018 Microsoft