Project.TaskTableList Property

Project Developer Reference

Returns a List object representing all task tables in the active project. Read-only Object.

Syntax

expression.TaskTableList

expression   A variable that represents a Project object.

Example
The following example lists all the task tables in the active project.

Visual Basic for Applications
  Sub SeeAllTables()
Dim Temp As Variant
Dim TaskTableNames As String

For Each Temp In ActiveProject.<strong class="bterm">TaskTableList</strong>
    TaskTableNames = TaskTableNames &amp; vbCrLf &amp; Temp
Next Temp

MsgBox TaskTableNames

End Sub

See Also