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

Assignment.Hyperlink Property (Project)

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

Gets or sets a friendly name representing a hyperlink address. The name may also be a URL or UNC path. Read/write String.


expression. Hyperlink

expression A variable that represents an Assignment object.


The following example adds a hyperlink to all tasks in the active project, including tasks in subprojects.

Sub AddHyperlink() 
 Dim T As Task 

 For Each T In ActiveProject.Tasks 
 If Not (T Is Nothing) Then 
 T.Hyperlink = "Microsoft" 
 T.HyperlinkAddress = "" 
 End If 
 Next T 

End Sub
© 2018 Microsoft