Get Validation Applied on a Cell
Contents
[
Hide
]
You can use Aspose.Cells to get the validation applied to a cell. Aspose.Cells provides the Cell.GetValidation() method for this purpose. If there is no validation applied on the cell, it returns null.
Similarly, you can use Worksheet.Validations.GetValidationInCell method to acquire the validation applied to a cell by providing its row and column indices.
C# code to get the validation applied on a Cell
Below code sample, shows you how to get validation applied on a cell.