none
Export macro from office file RRS feed

  • Question

  • Hi, I am trying to write a program that will recognize whether or not an office document (.doc, .xls, etc) has a macro in it, and if it does, to export that to a separate document. I need to do this in a platform independent way which means I cannot use VB. (I am developing in Python).

    What I have found is a way to find the Macro within the file using an OLE model, but the text of a Macro appears jumbled. Heavily jumbled. I was wondering if there is some straightforward way to get this information out of the files.

    Thank you,
    Lealdo
    Monday, June 29, 2009 10:10 PM

Answers