![]() ![]() |
GoFiler Legato Script Reference
Legato v 1.6d Application v 6.1b
|
Table of Contents | < < Previous | Next >> |
Chapter Eight — Data Functions (continued)
Overview
The WorkbookDeleteSheet function deletes a data sheet from a workbook at a specified location.
Syntax/Parameters
Syntax
int = WorkbookDeleteSheet ( handle hWorkbook, int index );
Parameters
hWorkbook
A handle to a Workbook Object.
index
An int specifying the zero-based position to insert the sheet. If the value is -1 the sheet is appended to the workbook list of sheets.
Return Value
Returns an int as ERROR_NONE or a formatted error code on failure. Use the GetLastError and GetLastErrorMessage to retrieve additional information.
Remarks
If the data sheet was supplied via an add or insert, the associated handle will automatically be closed and the handle will become invalid.
This function does not update the internal information table. It is updated when the workbook is exported.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Page revised 2025-08-15
Table of Contents | < < Previous | Next >> |
© 2012-2025 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission is prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. Novaworks, GoFiler™ and Legato™ are registered trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are the property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.