Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

XL.CopyContent

Copies all content from one book to other book.

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

MBS( "XL.CopyContent"; bookRef; otherBookRef )

Parameters

Parameter Description Example value
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
otherBookRef The reference to the second workbook. Please use XL.NewBook to create a file. $ref2

Result

Returns OK or error.

Description

Copies all content from one book to other book.

The plugin loops through all sheets and creates matching sheets on new book.
Formats and fonts are created on the fly.

This allows you to convert from XLS to XLSX or back.
Please report if something is not copied. Of course plugin can only copy what libXL supports, so stuff like movies or diagrams are not copied.

See also

Example Databases

Created 11st March 2015, last changed 11st March 2015


XL.Color.UnPack   -   XL.CopyRow

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins