in reply to Error getting number of rows in excel.

You want to use the Rows property of the UsedRange (a range object).

Should look something like this:

$rowCount = $actvSheet->UsedRange->Rows->{Count};

Replies are listed 'Best First'.
Re: Re: Error getting number of rows in excel.
by monir (Acolyte) on Oct 12, 2002 at 01:34 UTC
    Thanks, this is what I wanted, the number of actuallly used rows.