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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

XL.Sheet.CellWriteComments

Writes comments to an area of cells.

Component Version macOS Windows Linux Server iOS SDK
XL 8.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Sheet.CellWriteComments"; bookRef; sheetIndex; First row; Last row; First column; Last column; Values { ; Row Delimiter; Column Delimiter } )   More

Parameters

Parameter Description Example Flags
bookRef The reference to the workbook. Please use XL.LoadBook to load a file. $ref
sheetIndex The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. 0
First row The first row to process. First row has index 0. 3
Last row The last row to process. First row has index 0. 6
First column The first column to process. First column has index 0. 2
Last column The last column to process. First column has index 0. 4
Values The values to use.
Can be separated with row and column delimiter to give each row and column a different value.
But you can also use same value for all rows or for all columns.
"Test"
Row Delimiter The row delimiter for the result.
Default is new line character.
"¶" Optional
Column Delimiter The column delimiter for the result.
Default is tab character.
char(9) Optional

Result

Returns number of errors or error.

Description

Writes comments to an area of cells.
You can write one value or multiple values to a given range of cells.
Returns number of errors occurred, so on success you get back zero.

See also

Release notes

Blog Entries

Created 15th January 2018, last changed 15th January 2018


XL.Sheet.CellWriteComment - XL.Sheet.CellWriteDate

Feedback: Report problem or ask question.