Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
P is for Practical
 
PerlMonks  

Re^3: excel columns and my ignorance

by poj (Curate)
on May 31, 2012 at 18:38 UTC ( #973582=note: print w/ replies, xml ) Need Help??


in reply to Re^2: excel columns and my ignorance
in thread excel columns and my ignorance

Does this help

use 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" }
poj


Comment on Re^3: excel columns and my ignorance
Download Code
Re^4: excel columns and my ignorance
by trickyq (Acolyte) on May 31, 2012 at 19:00 UTC

    YES!

    I kneel before Zod

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973582]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2014-04-24 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls