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

.. _ex_defined_name:

Example: Defined names/Named ranges
===================================

Example of how to create defined names (named ranges) with XlsxWriter.

Defined names are used to define descriptive names to represent a value, a
single cell or a range of cells in a workbook or worksheet. See
:func:`define_name`.

.. image:: _images/defined_name.png

.. literalinclude:: ../../../examples/defined_name.py
