NamedRange::Count Property

 

Gets the number of cells in the NamedRange control.

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

property int Count {
	int get();
}

Property Value

Type: System::Int32

The number of cells in the NamedRange control.

The following code example creates a NamedRange and colors the interior green. It then displays a series of messages that show how many cells, columns, and rows are in the NamedRange.

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: