Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

XL.Sheet.MergeSize

Returns a number of merged cells in this worksheet.

Component Version macOS Windows Linux Server iOS SDK
XL 4.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Sheet.MergeSize"; bookRef; sheetIndex )   More

Parameters

Parameter Description Example
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

Result

Returns number or error.

Description

Returns a number of merged cells in this worksheet.

Examples

Show how many merges there are:

Show Custom Dialog [ "Merge count" ; MBS( "XL.Sheet.MergeSize"; $bookRef; 0 ) ]

See also

This function checks for a license.

Created 18th August 2014, last changed 10th May 2023


XL.Sheet.Merge - XL.Sheet.NamedRange