Share via


Application.EditClearHyperlink Method

Project Developer Reference

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.

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

See Also