Worksheet.RemoveCell Method (String)

NanoXLSX

NanoXLSX

WorksheetRemoveCell Method (String)

Removes a previous inserted cell at the defined address

Namespace:  NanoXLSX
Assembly:  NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)
Syntax
C#
public bool RemoveCell(
	string address
)

Parameters

address
Type: SystemString
Cell address in the format A1 - XFD1048576

Return Value

Type: Boolean
Returns true if the cell could be removed (existed), otherwise false (did not exist)
Exceptions
ExceptionCondition
RangeExceptionThrows an RangeException if the passed cell address is out of range
FormatExceptionThrows a FormatException if the passed cell address is malformed
See Also