Export and import VBA macros from Word (.docm .dotm) and Excel (.xlsm .xlam)
Project description
VBA-Sync
A command-line tool for exporting and importing VBA macros from Microsoft Word (.docm .dotm) and Excel (.xlsm .xlam) files.
This script allows you to:
- Export all VBA modules from a document into a folder.
- Import previously exported modules back into the document.
Create a backup copy of the document before importing macros.
Installation
pip install vba-sync
Requirements
Python >= 3.7
Microsoft Word or Excel installed
Trust access to the VBA project object model enabled in Office settings
Usage
Export macros
vba-sync export your_file.docm
Import macros
vba-sync import your_file.docm
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 vba_sync-0.1.6.tar.gz.
File metadata
- Download URL: vba_sync-0.1.6.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbc43a92f1b6f822aae09c6418fda9b28c8f10f5615a1fe1dbcf8f38157b799f
|
|
| MD5 |
7fd46a8c377430421afb37cdd2105919
|
|
| BLAKE2b-256 |
adc694b42ef379409c6d0cd08b0a29ba5516dbb59330e96dd57e9dc622142cc8
|
File details
Details for the file vba_sync-0.1.6-py3-none-any.whl.
File metadata
- Download URL: vba_sync-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fafe4619002623f4b8c8ff1ffa6ab680de1af416b9e6020138577cad2ed5292a
|
|
| MD5 |
2adf32ad5fcdcd5b5509c87d4ba101fb
|
|
| BLAKE2b-256 |
386fd6e8de6c2d3591a790787d81bea393258748469bd47d6514d5e4607a914c
|