Skip to main content

VBA macro wrapper for Python to be used with Microsoft Excel.

Project description

vycro is a Python wrapper designed to make calling VBA functions and subroutines with Microsoft Excel as easy as a couple of standard file I/O calls.

from vycro import MacroWrapper

mw = MacroWrapper()
wb_kwargs = {"ReadOnly":"True"}
m_args = ["arg1", "True", "111"]
with mw.open_workbook("/full/path/with.extension", **wb_kwargs):
    mw.run_macro("macro_name", *m_args)  # See declaration for function args

vycro currently supports Python 2.7 and Python 3.1-3.5, and requires pywin32-219.

Project details


Release history Release notifications

This version
History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
vycro-1.0.0-py2.py3-none-any.whl (5.4 kB) Copy SHA256 hash SHA256 Wheel 2.7 Dec 8, 2015
vycro-1.0.0.zip (7.0 kB) Copy SHA256 hash SHA256 Source None Dec 8, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page