ListObject::DataBodyRange Property
Gets a Range that represents the range that contains the data area in the list between the header row and the insert row.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
If the ListObject control does not have a DataBodyRange, this property returns null.
The following code example creates a ListObject and then shows the number of rows that are available for data.
This example is for a document-level customization.
Show: