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.3+98f265239ae8df4639650ecd7029244cc5e52dfc
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