<< xls_CopyDataRange xls link (Automation) for Scilab xls_DisplayAlerts >>

xls link (Automation) for Scilab >> xls link (Automation) for Scilab > xls_DeleteWorksheet

xls_DeleteWorksheet

Delete current worksheet

Calling Sequence

sheetCount = xls_DeleteWorksheet()

Outputs

sheetCount

Return the new sheets count

Description

Delete current worksheet.

Example

xls_NewExcel();
xls_AddWorkbook();
for i=1:10
    x = xls_AddWorksheet();
end

for i=1:10
    x = xls_DeleteWorksheet();
    xls_SetWorksheet(x);
end

xls_SetSave(%t);
xls_Close();
xls_Quit();

See Also


Report an issue
<< xls_CopyDataRange xls link (Automation) for Scilab xls_DisplayAlerts >>