|
|
|
|
|
SpreadsheetDeleteWorksheet (Function) In french: TableurSupprimeFeuille Deletes a worksheet from a Spreadsheet control found in a window. // Deletes all worksheets except for the first one FOR I = 1 TO PSHEET_MySpreadsheet.NbWorksheet TO 2 STEP -1 SpreadsheetDeleteWorksheet(PSHEET_MySpreadsheet, i) END
Syntax
Deleting a worksheet identified by its number Hide the details
SpreadsheetDeleteWorksheet(<Spreadsheet control> [, <Worksheet number>])
<Spreadsheet control>: Control name Name of the Spreadsheet control to be used. <Worksheet number>: Optional integer Number of the worksheet to delete. If this parameter is not specified, the current worksheet is deleted.
Deleting a worksheet identified by its name Hide the details
SpreadsheetDeleteWorksheet(<Spreadsheet control> , <Worksheet name>)
<Spreadsheet control>: Control name Name of the Spreadsheet control to be used. <Worksheet name>: Character string Name of the worksheet to delete. Remarks - If there is only one worksheet left in the Spreadsheet control, SpreadsheetDeleteWorksheet has no effect.
- This function can only be used on a Spreadsheet control found in a window.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|