Project.CurrentTable property (Project)

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

Syntax

expression. CurrentTable

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.