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.

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

property Range^ DataBodyRange {
	Range^ get();
}

Property Value

Type: Microsoft.Office.Interop.Excel::Range^

A Range that represents the range that contains the data area in the list between the header row and the insert row.

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.

No code example is currently available or this language may not be supported.
Return to top
Show: