Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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


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


Returns OK or error.


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

Blog Entries

This function checks for a license.

Created 27th April 2017, last changed 27th April 2017

XL.Book.IsWriteProtected - XL.Book.PictureCount