Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomSpreadSheet.ClearAll Method

In This Article

Deletes all worksheets in the opened spreadsheet document.

#Declaration

Delphi
procedure ClearAll;

#Remarks

Call this procedure to delete all worksheets simultaneously. To delete an individual worksheet, call its destructor.

A user can click the “Delete” item in the caption bar‘s context menu or execute the DeleteSheet command to delete the active sheet if at least two sheets are visible. Spreadsheet controls provide no commands or built-in UI elements that allow users to remove all sheets from the document.

See Also