Delete worksheets in Excel file
- XLSFILE: name of the Excel file
- SHEETS: cell array with the worksheet names, or matrix with positive integers to tell which worksheets are going to be protected. If SHEETS=, all empty sheets will be deleted.
- XLSFILE will be edited
Guilherme Coco Beltramini (2023). Delete worksheets in Excel file (https://www.mathworks.com/matlabcentral/fileexchange/42054-delete-worksheets-in-excel-file), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Check if XLS file is open and close it
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!