Use macros in Excel via win32com
chris
chris.stromberger at gmail.com
Sat Dec 18 20:48:27 EST 2004
More information about the Python-list mailing list
Sat Dec 18 20:48:27 EST 2004
- Previous message (by thread): Use macros in Excel via win32com
- Next message (by thread): Use macros in Excel via win32com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm creating an excel document dynamically from scratch using Python and the win32com module. All is well, but now I need to add a macro to the spreadsheet and run it (to enable some sorting features in the spreadsheet). I think I know how to run a macro once it's installed (using the Run method of the excel application object...I think), but I can't figure out how to "install" the VBA macro code into the spreadsheet to begin with from my Python script. Any tips appreciated. Thanks, Chris
- Previous message (by thread): Use macros in Excel via win32com
- Next message (by thread): Use macros in Excel via win32com
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list