Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Inserts a new sheet to this book at position index, returns the new sheet index.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref | |
Index | The index where to insert the sheet. | 0 | |
Name | The name for the new sheet. | "Taxsheet" | |
InitSheet | The index of an existing sheet to use as template. Must be from the same book to copy sheet. |
0 | Optional |
Returns new sheet index or error message.
This function checks for a license.
Created 18th August 2014, last changed 18th May 2023