To make this run, just import de VBA module xlwings.bas in the VBA editor. It can be found in the directory of
your xlwings installation.

Easy deployment

Deployment is really the part where xlwings shines:

Just zip-up your Spreadsheet with your Python code and the xlwings.py file and send it around. The receiver only
needs to have an installation of Python with pywin32 (and obviously
all the other packages you’re using).

There is no need to install any Excel add-in.

If this still sounds too complicated, just freeze your Python code into an executable and use
RunFrozenPython instead of RunPython. This gives you a standalone version of your Spreadsheet tool without any
dependencies.

Installation

The easiest way to install xlwings is via pip:

pip install xlwings

Alternatively it can be installed from source. From within the xlwings directory, execute: