.. _ex_macros:

Example: Adding a VBA macro to a Workbook
=========================================

This program is an example of how to add a button connected to a VBA macro to
a worksheet.

See :ref:`macros` for more details.


.. image:: _images/macros.png

.. literalinclude:: ../../../examples/macros.py
