NamedRange::ListObject Property
Gets a Microsoft.Office.Interop.Excel::ListObject for the NamedRange control.
Assembly: Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)
Property Value
Type: Microsoft.Office.Interop.Excel::ListObject^A Microsoft.Office.Interop.Excel::ListObject for the NamedRange control.
The following code example creates a ListObject inside of a NamedRange and then uses the ListObject property of the NamedRange to display the number of rows in the ListObject.
This example is for a document-level customization.
Show: