Search Results for

    Show / Hide Table of Contents

    ExcelFile.CheckDataValidationsInSheet Method

    Checks if all the cells in the active sheet inside data validations have values that are valid according to the data validation specifications.

    Syntax

    Namespace: FlexCel.Core

    public abstract TCellAddress[] CheckDataValidationsInSheet(Int32 sheet, Int32 maxErrors)

    Parameters

    <-> Parameter Type Description
    sheet Int32 Sheet to check (1 based)
    maxErrors Int32 The maximum number of errors reported by this method. To avoid getting a too big list, set it to a number like 100. If set to 0 or a negative number, the full list of errors will be returned, which can be very big.

    Returns

    An array with the first maxErrors cells that do not conform to the data validation. And empty array if all the cells conform.

    See also

    • ExcelFile
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com