.. _ex_data_valid:

Example: Data Validation and Drop Down Lists
============================================

Example of how to add data validation and drop down lists to an XlsxWriter
file. Data validation is a way of limiting user input to certain ranges
or to allow a selection from a drop down list.

.. image:: _static/data_validate1.png

Code:

.. literalinclude:: ../../../examples/data_validate.py
