Skip to main content

access-vba belongs to vba-edit CLI Tools

Edit VBA code in VS Code, PyCharm, Wing IDE, or any editor you love. Real-time sync with MS ACCESS. Git-friendly. No more VBA editor pain.

CI PyPI - Version PyPI - Python Version Platform Downloads License

This is a thin entry-point package for vba-edit. Installing access-vba gives you the access-vba command and automatically installs the vba-edit core package.

access-vba downloads

Quick Start

RECOMMENDED: Via uvx

uvx access-vba edit -f myfile.accdb --vba-directory .\src\VBA

Note: The uvx command invokes a tool without installing it — same as: uv tool run access-vba

30-Second Demo

# Start editing (uses active Access database)
uvx access-vba edit

# That's it! Edit the .bas/.cls files in your editor. Save = Sync.

How It Works

                        <--- vba-edit --->

    MS ACCESS                COMMANDS              Your favourite
                                v                       Editor

+------------------+                            +------------------+
|                  |                            |                  |
|   VBA Project    |   <---   EDIT*   (once ->) |  (e.g. VS CODE)  | 
|                  |                            |                  |     latest
|  (Office VBA-    |          EXPORT      --->  |   .bas           |  <- AI coding-  
|    Editor)       |                            |   .cls           |     assistants
|                  |   <---   IMPORT            |                  |   
|                  |                            |                  |     optional
|                  |                            |  [.toml]         |  <- support for 
|                  |                            |                  |     references
+------------------+                            +------------------+
                                                         v
                                                +------------------+
                                                |                  |
 * watches & syncs                              |    (e.g. Git)    |
   back to Office                               |  version control |
   VBA-Editor live                              |                  |
   on save [CTRL+S]                             |                  |
                                                +------------------+

Install

pip install access-vba

Note: Installing access-vba also installs the vba-edit core package, which provides entry points for all supported Office apps (excel-vba, word-vba, powerpoint-vba, access-vba).

Usage

All commands below work with both access-vba <command> (installed) and uvx access-vba <command> (no install required).

Command What it does
access-vba edit Start live editing
access-vba export One-time export
access-vba import One-time import
access-vba export --open-folder --keep-open Export and open folder in explorer, keep document open for inspection
access-vba export --force-overwrite Export without confirmation prompts
access-vba references list List VBA library references
access-vba check Verify status of Trust access to the VBA project object model

💡 Complete Option Matrix: available here

Note: Access VBA support covers standard modules and class modules only. UserForms are not supported.

For full documentation see github.com/markuskiller/vba-edit.

Metadata

Release files for access-vba 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for access-vba 0.5.1
File Size Uploaded Provenance Actions
access_vba-0.5.1.tar.gz 3.4 kB With provenance Details for access_vba-0.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for access-vba 0.5.1
File Interpreter ABI Platform Actions
access_vba-0.5.1-py3-none-any.whl Python 3 none any Details for access_vba-0.5.1-py3-none-any.whl

Total release size: 6.8 kB

Release files / access_vba-0.5.1.tar.gz

Download URL access_vba-0.5.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b8790d5a96fa55b621adc99c358e71d1a8246ce9dd276561d4ce3164b34baad7
BLAKE2b-256 checksum
How to use checksums
1148fc38b528a9ca3908d05c3600ae920979fe6500cc629a418cc0747569b269
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

Release files / access_vba-0.5.1-py3-none-any.whl

Download URL access_vba-0.5.1-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
15113d8e58492adbb51bfc369d50d3e39effe962897f410e3b4aec58006134ba
BLAKE2b-256 checksum
How to use checksums
28c50d87d252b506190943fcfc1944a10a04c89d345110f1342bf5f2535378ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

Security for access-vba 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for access_vba-0.5.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page