WorksheetColumnCount Property
Contains the number of columns within the current worksheet.
Syntax
[VB.NET] Public Property WorksheetColumnCount As Integer
[C#] public int WorksheetColumnCount {get; set;}
Remarks
This property is used to get and set the number of columns in the current worksheet and is populated with WorksheetIndex is set.
This property is not available at design time.
Default Value
0