I would like to analyze Excel files, especially those which contain VBA programs inside. because I plan to run this analysis on lots of Excel files one by one, I don't want to open these files within Microsoft Excel to analyze them.
One difficulty is to find and parse the VBA macros of an Excel file. We know that an Excel file can be converted to .zip
file which contains lots of .xml
and vbaProject.bin
, it is pretty certain that VBA macros are in vbaProject.bin
. However, the problem is how to read it?
Does anyone know if there is any tool or API to find and parse the VBA macros?
Does anyone know if there is any tool or API to read vbaProject.bin
?
olevba
) expose source code from.xlsm
andvbaProject.bin
– Northumberland