Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1    Statistic    FMM    Blog  


Copies a sheet to another book.

Component Version macOS Windows Linux Server FileMaker iOS SDK
XL 6.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.CopySheet"; bookRef1; bookRef2; sheetIndex { ; Options } )   More


Parameter Description Example Flags
bookRef1 The reference to the source workbook. Please use XL.LoadBook to load a file. $ref
bookRef2 The reference to the destination workbook. Please use XL.LoadBook to load a file. $ref
sheetIndex The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. 0
Options Which items to skip when copying content. "" Optional


Returns OK or error.


Copies a sheet to another book.
This copies most properties and all cells.
If something is missing, please let us know.

SkipPicturesDon't copy pictures.
SkipMergesDon't copy merged cells.
SkipNamedRangesDon't copy named ranges.
SkipPrintAreaDon't copy print area.
SkipPrintRepeatDon'T copy print repeat
SkipPrintFitDon't copy print fit.
SkipHorPageBreakDon't copy horizontal page breaks.
SkipCommentsDon't copy cell comments.
SkipFormatsDon't copy formats.
SkipRowHiddenDon't copy hidden rows.
SkipColHiddenDon't copy hidden columns.

See also

Blog Entries

Release notes

Created 7th December 2016, last changed 31st December 2018

XL.CopyRow   -   XL.Date.DoubleToTimeStamp

Feedback: Report problem or ask question.

MBS FileMaker blog

Start Chat