Application.EditClearHyperlink Method (Project)

Clears the Hyperlink, Hyperlink Address, Hyperlink SubAddress, and HyperlinkHREF fields of the selected assignment, resource, or task.

Syntax

expression. EditClearHyperlink

expression A variable that represents an Application object.

Return value

Boolean

Example

The following example first creates a hyperlink in the Gantt Chart view and then clears it.

Sub EditClear_Hyperlink() 
 
 'Activate Gantt Chart view 
 ViewApply Name:="&Gantt Chart" 
 SelectRow Row:=2, RowRelative:=False 
 InsertHyperlink Name:="https://MSDN", Address:="https://msdn.microsoft.com/", SubAddress:="", ScreenTip:="" 
 
 EditClearHyperlink 
End Sub