Edit, export and import Access VBA code from the command line. Thin entry-point wrapper for vba-edit.
Project description
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.
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.
Quick Start
RECOMMENDED: Via uvx
uvx access-vba edit -f myfile.accdb --vba-directory .\src\VBA
Note: The
uvxcommand 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 | |
| | | |
| | | |
+------------------+ +------------------+
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-vbaalso installs thevba-editcore 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) anduvx 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 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file access_vba-0.4.4.tar.gz.
File metadata
- Download URL: access_vba-0.4.4.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b8a884c19b8b886bd2302511459a373732e67759c32b58680de37d50aa95a95
|
|
| MD5 |
140edea4288821edfe3664e1851b574e
|
|
| BLAKE2b-256 |
cf02a6eb6880371f890b64ce7b6ea5a46d2226afd769d8a2c83006d65d0493fa
|
File details
Details for the file access_vba-0.4.4-py3-none-any.whl.
File metadata
- Download URL: access_vba-0.4.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38f700fe53c804e2877f37dd233265c12730b3450e6d4e5129a2a414ec6e829e
|
|
| MD5 |
c70f4de0af77392c2ed5affc68dfb053
|
|
| BLAKE2b-256 |
1a6854abaae7ab787bb4d3997cdf5a6a844d89cb1c140f84142b9b8e3daecdce
|