Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can do this through COM. I forgot which Python library I used but once you have an Excel application object you can do

Data = xl.range('a1:a3')

Sum = xl.worksheetfunction.sum(data)

Xl.range('b3').value = sum

Any library enabling the COM link will do.

(sorry, typing this on my phone so formatting and capitalization are screwy)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: