Skip to main content

Module vba

Module vba 

Source
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§

VbaModule
A single VBA module with its name, source code, and type.
VbaProject
Result of extracting a VBA project from a .xlsm file.

Enums§

VbaModuleType
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.bin binary blob.