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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
XL.CopyColumn
Copies cells from one column to another column.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| XL | 10.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "XL.CopyColumn"; bookRef1; bookRef2; sheetIndex1; sheetIndex2; SourceCol; DestCol { ; Options } ) More
Parameters
| 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 | |
| sheetIndex1 | The source index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 | |
| sheetIndex2 | The destination index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 | |
| SourceCol | The source col index. | $scol | |
| DestCol | The destination col index. | $dcol | |
| Options | Which items to skip when copying content. | "" | Optional |
Result
Returns OK or error.
Description
Copies cells from one column to another column.Source and destination can be in different sheets/books.
This copies most properties and all cells.
If something is missing, please let us know.
| Option | Description. |
| SkipPictures | Don't copy pictures. |
| SkipMerges | Don't copy merged cells. |
| SkipNamedRanges | Don't copy named ranges. |
| SkipPrintArea | Don't copy print area. |
| SkipPrintRepeat | Don'T copy print repeat |
| SkipPrintFit | Don't copy print fit. |
| SkipHorPageBreak | Don't copy horizontal page breaks. |
| SkipComments | Don't copy cell comments. |
| SkipFormats | Don't copy formats. |
| SkipRowHidden | Don't copy hidden rows. |
| SkipColHidden | Don't copy hidden columns. |
Examples
Copy 3rd column to 5th:
Set Variable [ $r ; Value: MBS( "XL.CopyColumn"; $bookRef; $bookRef; $sheet; $sheet; 2; 4 ) ]
See also
Blog Entries
- New in MBS FileMaker Plugin 10.5
- Neues MBS FileMaker Plugin 10.5 - Über 6400 Funktionen in einem Plugin
- MBS FileMaker Plugin 10.5 - More than 6400 Functions In One Plugin
- MBS FileMaker Plugin, version 10.5pr1
Release notes
- Version 10.5
- Added XL.CopyColumn function.
Created 30th September 2020, last changed 30th September 2020
XL.Color.UnPack - XL.CopyContent
Feedback: Report problem or ask question.
Links
MBS Xojo blog