On Thu, 2 Aug 2007, Vladimir wrote:
but document with macro and its copy with password protected macro, produced no difference.

Simplification of code which I use to detect macro:

Ahh, looks like the macro is stored in a different poifs stream (not in the excel stream, which is what biffviewer checks)

Since the macros are in their own poifs stream, you'll need the org.apache.poi.poifs.dev tools instead (POIFSViewer). That'll print out each block in turn, and you should find that the Macro or VBA stream holds your differences

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to