C# | ![]() |
---|---|
int numberOfCols = worksheet.Cells["A1:B3"].Columns.Count; // 2 columns |
Visual Basic | ![]() |
---|---|
Dim numberOfCols As Integer = worksheet.Cells("A1:B3").Columns.Count ' 2 columns |
If the IRange represents more than one range of cells,
only the first range of cells is represented in the new IRange.
Requirements
Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2008 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.