Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Deletes all sheets except the one with given name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 5.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
Name | The name of the sheet to keep. | "People" |
Returns OK or error.
Delete all sheets except one:
Set Variable [$r; Value:MBS("XL.Book.DeleteSheetsExcept"; $bookRef; "Reiter 2")]
This function checks for a license.
Created 4th November 2015, last changed 4th November 2015