IWorksheetManager.RemoveSheetsFromWorkbook Method
Removes specified sheets from a workbook. The operation is safe, it means that
formulas in remaining sheets will be converted to computed values, because
formulas could contain cells from the removed sheets.
Sub RemoveSheetsFromWorkbook( _ |
ByVal workbook As IWorkbook , _ |
ByVal sheetsToRemove As IList (Of IWorksheet ) _ |
This language is not supported or no code example is available.
void RemoveSheetsFromWorkbook( |
IList < IWorksheet > sheetsToRemove |
This language is not supported or no code example is available.
Parameters
-
workbook
-
IWorkbook
The workbook from which the sheets are to be removed.
It should be unprotected.
-
sheetsToRemove
-
IList<IWorksheet>
The list of sheets to be removed.
Available since QDV 7.13.0001.
.NET Framework
Supported in: 4.8, 4.7, 4.6, 4.5.2