Click or drag to resize
PicoXLSX

WorkbookRemoveWorksheet(Int32, Boolean) Method

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

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.4.2+f55916d49ef2baa43fc7dc8f5c7d751a77c50baf
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