Share via


WorksheetBase.ListObjects Property

Gets a collection of ListObject objects in the worksheet.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)

Syntax

'Declaration
Public ReadOnly Property ListObjects As ListObjects
public ListObjects ListObjects { get; }

Property Value

Type: ListObjects
The ListObjects collection for the worksheet.

Examples

The following code example uses the ListObjects property to add a ListObject to the current worksheet.

This example is for a document-level customization.

Trin_ExcelWorkSheet#17

.NET Framework Security

See Also

Reference

WorksheetBase Class

Microsoft.Office.Tools.Excel Namespace