.. SPDX-License-Identifier: BSD-2-Clause
   Copyright (c) 2013-2025, John McNamara, jmcnamara@cpan.org

.. _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:: _images/data_validate1.png

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