title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
Project.CurrentView property (Project) |
project-server |
|
002fc584-511e-0554-65f0-65dfd6b3dccb |
06/08/2017 |
medium |
Gets the name of the active view for a project. Read-only String.
expression. CurrentView
expression A variable that represents a Project object.
The following example displays the names of the active view, table, and filter in a dialog box.
Sub ViewDetails()
Dim Temp As String
Temp = "View: " & ActiveProject.CurrentView & vbCrLf
Temp = Temp & "Table:" & ActiveProject.CurrentTable & vbCrLf
Temp = Temp & "Filter: " & ActiveProject.CurrentFilter
MsgBox Temp
End Sub
[!includeSupport and feedback]