Skip to main content

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.

CI PyPI - Version PyPI - Python Version Platform vba-edit - Downloads access-vba - 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.

Quick Start

RECOMMENDED: Via uvx

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

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)
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-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

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

access_vba-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

access_vba-0.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file access_vba-0.0.1.tar.gz.

File metadata

  • Download URL: access_vba-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for access_vba-0.0.1.tar.gz
Algorithm Hash digest
SHA256 91aeabf8510fb13447dcc10d52ce0f7a2da710a595b5c33279038e593cfe362a
MD5 6fbbd89275c0bbe82279cff675fe046d
BLAKE2b-256 154ea57059fa54abf026affdf7461b7677c1db71cdb9d73e7979c8a1d2198b3d

See more details on using hashes here.

File details

Details for the file access_vba-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: access_vba-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for access_vba-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 719ae9e2b425163129e0a46de6639993c311fb66c978000ea983ea2b3600d5c9
MD5 6204e27cd6f0145d67921a231e59f075
BLAKE2b-256 6e6ce6754a01c0542407964a1e27008003b23bbfba1bb0e375f99ccc40b30d59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page