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.CopySheet

Copies a sheet to another book.

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

MBS( "XL.CopySheet"; bookRef1; bookRef2; sheetIndex )

Parameters

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

Result

Returns OK or error.

Description

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

See also


XL.CopyRow   -   XL.Date.DoubleToTimeStamp

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins