You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: ExcelWorksheets.Delete throws NotSupportedException on ExcelChartsheet (#2367)
The Delete method was attempting to access the PivotTables collection on all worksheet types. However, ExcelChartsheet throws NotSupportedException when accessing PivotTables. Added a type guard to skip PivotTable cleanup for chart sheets.
Co-authored-by: Lieven De Foor <lieven.de.foor@tvh.com>
0 commit comments