Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 907 Bytes

Project.Project.CurrentView.md

File metadata and controls

40 lines (26 loc) · 907 Bytes
title ms.service api_name ms.assetid ms.date ms.localizationpriority
Project.CurrentView property (Project)
project-server
Project.Project.CurrentView
002fc584-511e-0554-65f0-65dfd6b3dccb
06/08/2017
medium

Project.CurrentView property (Project)

Gets the name of the active view for a project. Read-only String.

Syntax

expression. CurrentView

expression A variable that represents a Project object.

Example

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]