Click or drag to resize
NanoXLSX

WorkbookRemoveWorksheet(Int32, Boolean) Method

Removes the worksheet at the defined index and relocates current and selected worksheet references

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.4+e304ab0274fa680d1e83f83c8f76c3bd5a54caf2
Syntax
C#
private void RemoveWorksheet(
	int index,
	bool resetCurrentWorksheet
)

Parameters

index  Int32
Index within the worksheets list
resetCurrentWorksheet  Boolean
If true, the current worksheet will be relocated to the last worksheet in the list
See Also