Share via


Range.Count Property

Returns the number of objects in the collection.

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

Syntax

'Declaration
ReadOnly Property Count As Integer
    Get
'Usage
Dim instance As Range
Dim value As Integer

value = instance.Count
int Count { get; }

Property Value

Type: System.Int32

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace