Page tree
Skip to end of metadata
Go to start of metadata

Description

Creates a DataValidation object which can be set on a Range, Area, or Cell.

C#
vb.net

Parameters

allowedType
The data type allowed in the cell.
formula
For 'Custom' allowed type: the formula used to validate the cell's data. For 'List' allowed type: the formula referencing a range in the worksheet.

Returns

A DataValidation object.

Examples

C#
vb.net
  • No labels