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.3+c820fb107cc06ae187946bad43db42d71f6faf1c
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