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, |
In reply to Re: loop through xlsx and get specific column cell values
by Athanasius
in thread loop through xlsx and get specific column cell values
by emadmahou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |