in reply to Spreadsheet::ParseExcel MaxRow is maxing out at 2954
kyle makes a good point and I would start there ... but you don't show how you set your workseet. Could there be multiple sheets in the excel file and you're getting the wrong one?
#!/usr/bin/perl use strict; use warnings; use Spreadsheet::ParseExcel; my $book = Spreadsheet::ParseExcel::Workbook->Parse( "file.xls" ); foreach my $sheet ( @{$book->{Worksheet}} ) { print "SHEET Name: ", $sheet->{Name}, "\n"; print "SHEET MaxRow: ", $sheet->{MaxRow}, "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spreadsheet::ParseExcel MaxRow is maxing out at 2954
by skelooth (Novice) on Apr 29, 2008 at 16:01 UTC |