tags:

views:

24

answers:

1

When reading the binary of a Word or Excel doc into memory, is it possible to inspect the data to determine if a macro is built-in to it?

+1  A: 

If you set the security level for macros Excel (and I expect word) will ask you if you want to run a macro only if there are macros.

Mark
The situation we have is that we are reading the binary of the word/excel doc and would like to know within the program we wrote if the binary has a macro. Since this is happening server side, we'd like to capture the fact that a macro is included and avoid any UI pop-up.