Project.CurrentTable Property

Project Developer Reference

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



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.

Visual Basic for Applications
  Sub ViewDetails()
Dim Temp As String

Temp = "View: " & ActiveProject.CurrentView & vbCrLf
Temp = Temp &amp; "Table:" &amp; ActiveProject.<strong class="bterm">CurrentTable</strong> &amp; vbCrLf
Temp = Temp &amp; "Filter: " &amp; ActiveProject.CurrentFilter
MsgBox Temp

End Sub

See Also