in reply to loop through xlsx and get specific column cell values
Hello emadmahou,
I’m not at all clear on what you are trying to do. It would be a great help if you could give (small!) sample files, one each for $inputFile and “test.xlsx”, together with the output (in “$inputFile.seed.txt”) you want to generate.
Here are some preliminary observations:
and unexplained magic numbers:# Get cell value from excel sheet1 row 1 column 2 for my $worksheet ( $workbook->worksheets() ) {
Cleaning up the code, and documenting what it currently does, will help you to clarify its structure and logic.my $cell = $worksheet->get_cell(1,9);
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: loop through xlsx and get specific column cell values
by ww (Archbishop) on Apr 17, 2016 at 12:28 UTC |