Create a vbaProject.bin file from VBA source files.
Project description
vbaProject-Compiler
Create a vbaProject.bin file from VBA source files.
Command Line Interface
Eventually it will be possible to use the CLI to create a vbaProject.bin file from source files and an optional configuration file.
VBAProject Class
The vbaProject class contains all the data and metadata that is used to create the OLE container. It can use this data to create several files, then compress and combine them into an OLE container
from ms_ovba.vbaProject import VbaProject
from ms_cfb.ole_file import OleFile
project = VbaProject()
thisWorkbook = DocModule("ThisWorkbook")
thisWorkbook.addFile(path)
project.addModule(thisWorkbook)
ProjectOleFile.write_file(project)
The VbaProject class has many layers of customization available. For example a library reference can be added to the project.
codePage = 0x04E4
codePageName = "cp" + str(codePage)
libidRef = ReferenceRecord(codePageName, LibidReference(
"{00020430-0000-0000-C000-000000000046}",
"2.0",
"0",
"C:\\Windows\\System32\\stdole2.tlb",
"OLE Automation"
))
oleReference = Reference(codePageName, libidRef, "stdole")
project.addReference(oleReference)
Project details
Release history Release notifications | RSS feed
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 ms_ovba-0.0.1.tar.gz.
File metadata
- Download URL: ms_ovba-0.0.1.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2319e2f8d4364d65eeee5fc24595c0129801ff0a00a5e3dcad3639367c85d44
|
|
| MD5 |
8e8117f261824fef171734986aa70725
|
|
| BLAKE2b-256 |
3b24a47fa2d57cb99847d06f6443623f4693c8af75a46ecc75a199513281e4f2
|
Provenance
The following attestation bundles were made for ms_ovba-0.0.1.tar.gz:
Publisher:
python-publish.yml on Beakerboy/MS-OVBA
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ms_ovba-0.0.1.tar.gz -
Subject digest:
c2319e2f8d4364d65eeee5fc24595c0129801ff0a00a5e3dcad3639367c85d44 - Sigstore transparency entry: 1281997944
- Sigstore integration time:
-
Permalink:
Beakerboy/MS-OVBA@2b8340dfb325df0560ae671fd78aeb19fcb6265d -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/Beakerboy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2b8340dfb325df0560ae671fd78aeb19fcb6265d -
Trigger Event:
release
-
Statement type:
File details
Details for the file ms_ovba-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ms_ovba-0.0.1-py3-none-any.whl
- Upload date:
- Size: 35.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da093525428effce8d432784b598212d95e7f906e7a7b3422a6b80d9a183b400
|
|
| MD5 |
1b13d97668fdcd7111bb3ac5ef0eec71
|
|
| BLAKE2b-256 |
ef5601a89f1f1632e80936dd5a2c84455f11da27fe52dfcb789ac67a894b65ee
|
Provenance
The following attestation bundles were made for ms_ovba-0.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on Beakerboy/MS-OVBA
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ms_ovba-0.0.1-py3-none-any.whl -
Subject digest:
da093525428effce8d432784b598212d95e7f906e7a7b3422a6b80d9a183b400 - Sigstore transparency entry: 1281997956
- Sigstore integration time:
-
Permalink:
Beakerboy/MS-OVBA@2b8340dfb325df0560ae671fd78aeb19fcb6265d -
Branch / Tag:
refs/tags/0.0.1 - Owner: https://github.com/Beakerboy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@2b8340dfb325df0560ae671fd78aeb19fcb6265d -
Trigger Event:
release
-
Statement type: