title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Project.TaskViewList property (Project) |
vbapj.chm132716 |
|
project-server |
|
86d408a2-ed60-fde0-8849-17167d71f6d6 |
06/08/2017 |
medium |
Gets a List object representing all task views in the project. Read-only List.
expression. TaskViewList
expression A variable that represents a Project object.
The following example lists all the task views in the active project.
Sub SeeAllViews()
Dim Temp As Variant
Dim TaskViewNames As String
For Each Temp In ActiveProject.TaskViewList
TaskViewNames = TaskViewNames & vbCrLf & Temp
Next Temp
MsgBox TaskViewNames
End Sub
[!includeSupport and feedback]