 | WorksheetGetFirstDataColumnNumber Method |
Gets the first existing column number with data in the current worksheet (zero-based)
Namespace: NanoXLSXAssembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.2+7f12a949130e0be1e987e553d2d08c083176cdca
Syntaxpublic int GetFirstDataColumnNumber()
Return Value
Int32Zero-based column number. In case of an empty worksheet, -1 will be returned
RemarksGetFirstDataColumnNumber() will ignore formatted but empty cells before the first column with data.
If you want the first defined column, use
GetFirstColumnNumber instead.
See Also