Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Copies cells from one column to another column.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 10.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
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 |
Returns OK or error.
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. |
Copy 3rd column to 5th:
Set Variable [ $r ; Value: MBS( "XL.CopyColumn"; $bookRef; $bookRef; $sheet; $sheet; 2; 4 ) ]
This function checks for a license.
Created 30th September 2020, last changed 2nd April 2021