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

XL.Sheet.DataValidationSize

Returns a number of data validations in this worksheet (only for xlsx files).

Component Version macOS Windows Linux Server iOS SDK
XL 16.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "XL.Sheet.DataValidationSize"; BookRef; SheetIndex )   More

Parameters

Parameter Description Example
BookRef The reference number for the workbook. $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 data validations in this worksheet (only for xlsx files).

See also

Release notes

  • Version 16.3
    • Added XL.Sheet.DataValidation, XL.Sheet.DataValidationSize and XL.Sheet.DataValidations functions.

This function checks for a license.

Created 21st May 2026, last changed 21st May 2026


XL.Sheet.DataValidation - XL.Sheet.DataValidations