Expand description
VBA project extraction from macro-enabled workbooks (.xlsm).
.xlsm files contain a xl/vbaProject.bin entry which is an OLE2
Compound Binary File (CFB) holding VBA source code. This module
provides read-only access to the raw binary and to individual VBA
module source code.
Structs§
- VbaLimits
- Finite limits applied to one VBA extraction operation.
- VbaModule
- A single VBA module with its name, source code, and type.
- VbaProject
- Result of extracting a VBA project from a
.xlsmfile.
Enums§
- VbaModule
Type - Classification of a VBA module.
Functions§
- decompress_
vba_ stream - Decompress a VBA compressed stream per MS-OVBA 2.4.1.
- extract_
vba_ modules - Extract VBA module source code from a
vbaProject.binbinary blob. - extract_
vba_ modules_ with_ limits - Extract VBA modules using explicit finite limits.