Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.Book.MoveSheet
Moves a sheet.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 7.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.Book.MoveSheet"; bookRef; SourceIndex; DestIndex ) More
Parameters
Parameter | Description | Example |
---|---|---|
bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref |
SourceIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 |
DestIndex | The destination index of the sheet. | 0 |
Result
Returns OK or error.
Description
Moves a sheet.Takes a sheet with SourceIndex and insert it in front of a sheet with DestIndex.
Returns OK on success and error on failure.
See also
Release notes
- Version 7.2
- Added XL.Book.MoveSheet function.
Blog Entries
This function checks for a license.
Created 27th April 2017, last changed 27th April 2017