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.7+3223c8b99fcd3402b4ae016daa480abac16f8a9f
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