Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

XL.Book.MoveSheet

Moves a sheet.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
XL 7.2 Yes Yes Yes Yes Yes

MBS( "XL.Book.MoveSheet"; bookRef; SourceIndex; DestIndex )

Parameters

Parameter Description Example value
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


XL.Book.IsTemplate   -   XL.Book.PictureCount

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins