Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
XL.CopyCellValue
Copies one cell.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
XL | 11.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "XL.CopyCellValue"; bookRef1; bookRef2; sheetIndex1; sheetIndex2; SourceRow; DestRow; 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 | |
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 |
Result
Returns OK or error.
Description
Copies one cell.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. |
If source and dest sheet are the same, does same as XL.Sheet.CopyCell function.
Examples
Copy a cell value:
Set Variable [ $r ; Value: MBS( "XL.CopyCellValue"; $book1; $book2; $sheet1; $sheet2; 3; 4; 1; 1 ) ]
See also
Release notes
- Version 11.2
- Added XL.CopyCellValue function.
Blog Entries
- New in MBS FileMaker Plugin 11.2
- Neues MBS FileMaker Plugin 11.2
- MBS FileMaker Plugin 11.2 - More than 6500 Functions In One Plugin
- MBS FileMaker Plugin, version 11.2pr2
This function checks for a license.
Created 2nd April 2021, last changed 2nd April 2021