Win32com and Excel

Ryan Ginstrom software at ginstrom.com
Thu Jan 10 04:55:17 EST 2008


> On Behalf Of Mike P
> Does anyone have any code that does something similar? My 
> guess is i have to do something like thefollowing to enable 
> python to read xl?

I think that what you want is UsedRange

for row in sheet.UsedRange.Value:
    ...

Regards,
Ryan Ginstrom




More information about the Python-list mailing list