None not None in Excel COM?
Gonçalo Rodrigues
op73418 at mail.telepac.pt
Mon Apr 1 14:30:33 EST 2002
Maybe someone can help me out here.
Im using Excel via Python COM and have already run makepy on its type
library.
The problem is the following:
Let sheet be a reference to an Excel worksheet and suppose
sheet.Cells(row, 1) returns None for a given row > 1. The problem is
that if I do
sheet.Cells(row, 1) == None
sheet.Cells(row, 1) is None
both return 0. What am I doing wrong?
Thanx for all the help,
Gonçalo Rodrigues
More information about the Python-list
mailing list