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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Copies one cell.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 11.2 | ✅ 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 | |
SourceRow | The source row index. | $srow | |
DestRow | The destination row index. | $drow | |
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 a cell value:
Set Variable [ $r ; Value: MBS( "XL.CopyCellValue"; $book1; $book2; $sheet1; $sheet2; 3; 4; 1; 1 ) ]
Created 2nd April 2021, last changed 2nd April 2021
XL.Color.UnPack - XL.CopyColumn
Feedback: Report problem or ask question.