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

Project.CurrentView Property (Project)

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

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
© 2018 Microsoft