I have a big set of .xls
(Excel 97-2003 Workbook) files. A few of them contain VBA macros inside, I would like to find a way to filter them out automatically without opening them one by one in MS Excel.
There is an old post which is similar to my question, I have downloaded the OLE Doc viewer, but cannot open the .zip file, it seems that it is out of date...
Does anyone know if there is any API or tool to check if an .xls
file contains VBA macros without opening it in MS Excel? In the first place, I don't bother to know the content of the macros.
PS: for a .xlsx
or .xlsm
file, we can change their file extension to .zip
which contain some .xml
files and eventually vbaProject.bin
for VBA macros. However, this approach does not work for .xls
file, renaming it does not make a valid .zip
file.