Project.CurrentTable Property

Project Developer Reference

Returns 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.

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