title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Resource.Hyperlink property (Project) |
project-server |
|
6ca08bee-46a8-9da3-29db-54d05cfe33ce |
06/08/2017 |
medium |
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 a Resource 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 = "https://www.microsoft.com/"
End If
Next T
End Sub
[!includeSupport and feedback]