in reply to Xls reader
In addition to haukex good comment, look at this line:
for(my $k=2; $k<521754; $k++)
In the case that your Excel sheet does not have 521754 rows, consider using $Sheet2->UsedRange->Rows instead:
Update: See the corrections by haukex below!
my $used_rows = $Sheet2->UsedRange->Rows(); for my $k (2..$used_rows) { }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Xls reader
by haukex (Archbishop) on Jan 02, 2019 at 10:35 UTC |