in reply to Re^2: excel columns and my ignorance
in thread excel columns and my ignorance
pojuse strict; use Spreadsheet::XLSX; my $excel = Spreadsheet::XLSX -> new ('build.xlsx'); my $sheet = $excel->Worksheet('Sheet1'); my ($row_min,$row_max) = $sheet->row_range(); my @col=(); for my $row ($row_min..$row_max){ $col[0] = $sheet->{Cells}[$row][0]->{Val}; $col[3] = $sheet->{Cells}[$row][3]->{Val}; print "$row $col[0] $col[3] \n" }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: excel columns and my ignorance
by trickyq (Acolyte) on May 31, 2012 at 19:00 UTC |