ListObjects Object

Excel Developer Reference

A collection of all the ListObject objects on a worksheet. Each ListObject object represents a table in the worksheet.


Use the ListObjects property of the Worksheet object to return the ListObjects collection.


The following example creates a new ListObjects collection which represents all the tables in a worksheet.

Visual Basic for Applications
  Set myWorksheetLists = Worksheets(1).ListObjects

See Also