[COM Newbie] How to find out the # of cells and rows in an excel sheet

Peder Ydalus pedery at ifi.uio.no
Sun Nov 16 17:41:31 EST 2003


Having a reference to an excel workbook and worksheet, how can I get the
width and height of the area with data without iterating through 65536
rows * 256 columns (which would take a small eternity)?

Does the excel COM interface return any such contants or variables?

- Peder -




More information about the Python-list mailing list