need help with win32com

John Machin sjmachin at lexicon.net
Tue Jul 3 06:00:50 EDT 2007


On Jul 3, 7:06 pm, Graeme Glass <graemegl... at gmail.com> wrote:
> On Jul 2, 6:38 pm, Thomas <ryus... at gmail.com> wrote:
>
> > I want to be able to access an excel file and extract the code from
> > the macro that is in the file.  How can I do this?
>
> > --
> > ~Thomas~
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/483742

The OP wants to extract the code of a macro. The above URL points to
an interesting recipe for an extra layer on top of xlrd's data-
extraction API. xlrd, as documented, avoids macros. The OP needs, as
his subject suggests, help with win32com, which is AFAIK the only
possible Python-related candidate for a solution to his problem.




More information about the Python-list mailing list