[Tutor] Programming microsoft excel

wesley chun wescpy at gmail.com
Fri May 7 04:48:15 CEST 2010


> guys can i use python's win32com module to do the same tasks that i do with visual basic for applications (vba). I mean automating tasks for excel e.t.c and accessing Access databases. If win32com doesnt which module can i use?


that's definitely the right one, and yes, you can use VB/VBA examples
if you port them to Python.

i wrote a good-sized section on how to do this in Chapter 23 of my
book (see below) with examples for Word, Excel, PowerPoint, and
OutLook.

hope this helps!
-- wesley
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Core Python Programming", Prentice Hall, (c)2007,2001
"Python Fundamentals", Prentice Hall, (c)2009
    http://corepython.com

wesley.j.chun :: wescpy-at-gmail.com
python training and technical consulting
cyberweb.consulting : silicon valley, ca
http://cyberwebconsulting.com


More information about the Tutor mailing list