# Validation

**Kind**: interface | **Module**: [Excel](https://docs.interop.io/adapters/reference/javascript/excel/index.md)

**Source**: https://docs.interop.io/adapters/reference/javascript/excel/validation/index.html

Defines the type and possible values for cells in a column.

## Properties

- **`alert`** (`ValidationAlert`, optional)
  Affects the type of warning when the validation fails.
- **`list`** (`string[]`, optional)
  An array of strings giving the possible values for the cells, when the
  type is set to List. ExcelPad uses this to build a drop-down
  combo box allowing the user to select one from the possible values.
- **`type`** (`ValidationType`, optional)
  The type of data that can be used in the cells.

## Related types

- [ValidationAlert](https://docs.interop.io/adapters/reference/javascript/excel/validationalert/index.md)
- [ValidationType](https://docs.interop.io/adapters/reference/javascript/excel/validationtype/index.md)
