chris, > 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 recommend to create the excel document not from scratch but from a template. I learned from experience that it is speadier to have all the static parts allready prepared - and especially diagrams and macros are MUCH easier to handle if allready in the programm Harald -- http://mail.python.org/mailman/listinfo/python-list