Write Excel UDFs and macros in Python!

 

Replace your VBA code with Python, a powerful yet easy-to-use programming language that is highly suited for numerical analysis.

 
Download the latest release (v2.0.8)
 
Previous releases available on GitHub.
 

Why ExcelPython is awesome

  • Easy deployment: Just zip up your ExcelPython-powered workbook folder and distribute! No messing around with installing add-ins or registering COM servers on the end-user's machine.
  • Compatible: Works with most combinations of Excel and Python - you can even mix 32 and 64 bits. Plays well with xlwings!
  • Flexible: Target specific a Python installation or runtime environment for your workbook.
  • High performance: The Python runtime only gets loaded once the first time you call into Python code, which means the successive calls are not slowed down by heavy library imports.
  • Powerful: Access the entire Excel COM object model from Python.
  • Free and open-source: ExcelPython is released under a permissive MIT license.