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  

XL.Sheet.SetRows

Sets row height and format for multiple rows.

Component Version macOS Windows Linux Server FileMaker iOS SDK
XL 11.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Sheet.SetRows"; bookRef; sheetIndex; Row; Last row; Height { ; Format; Hidden } )   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
Row The row index to set.
First row is zero.
0
Last row The last row index to set. 2
Height The new row height measured in point size. 20
Format The format for the cell. This is index from 0 to XL.GetFormatCount-1 in the book's list of formats. 0 Optional
Hidden Whether to hide columns. 0 Optional

Result

Returns OK or error.

Description

Sets row height and format for multiple rows.
Row may be hidden.
Height is in points. If you want to convert from pixels to points you can use this calculation: points = pixels * 72 / 96. So for a height of 72 pixel, you pass 54 points.

XL.Sheet.SetRow is for one row, but XL.Sheet.SetRows is for a range of rows.

See also

Release notes

  • Version 11.2
    • Added XL.Sheet.SetRows function.

Blog Entries

Created 25th March 2021, last changed 25th March 2021


XL.Sheet.SetRowHidden   -   XL.Sheet.SetTabColor

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins

Start Chat