Delete worksheets in Excel file
版本 1.1.0.0 (4.3 KB) 作者:
Guilherme Coco Beltramini
Delete selected worksheets or all empty worksheets in Excel file
Delete worksheets in Excel file
USAGE
xls_delete_sheets(xlsfile)
xls_delete_sheets(xlsfile,sheets)
INPUT
- 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.
OUTPUT
- XLSFILE will be edited
引用格式
Guilherme Coco Beltramini (2024). Delete worksheets in Excel file (https://www.mathworks.com/matlabcentral/fileexchange/42054-delete-worksheets-in-excel-file), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Spreadsheets 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!