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  

XL.CopyContent

Copies all content from one book to other book.

Component Version macOS Windows Linux Server FileMaker iOS SDK
XL 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.CopyContent"; bookRef; otherBookRef { ; Options } )   More

Parameters

Parameter Description Example Flags
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
Options Which items to skip when copying content. "" Optional

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 things like movies or diagrams are not copied. And if you use demo mode, only a small part is copied with values. Rest will be blank.

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

Example Databases

Blog Entries

Release notes

Created 11st March 2015, last changed 2nd January 2019


XL.CopyColumn   -   XL.CopyRow

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat