in reply to PERL : Parse/Open an excel file and replace the negative values in a sheet to '0'
The synopsis at the Spreadsheet::ParseExcel page shows an example program that shows how to visit each of the cells of a spreadsheet, and could be modified to test each for a negative value and replace it with 0.
It might work better to use VBA for this task.
Crudest solution would be convert to csv and open with Text::CSV. You lose formatting and formulas that way. But it would take 5 minutes to write.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: PERL : Parse/Open an excel file and replace the negative values in a sheet to '0'
by DarshanS (Initiate) on May 29, 2015 at 07:26 UTC | |
|
Re^2: PERL : Parse/Open an excel file and replace the negative values in a sheet to '0'
by DarshanS (Initiate) on May 27, 2015 at 06:03 UTC | |
by GotToBTru (Prior) on May 27, 2015 at 13:35 UTC | |
by DarshanS (Initiate) on May 28, 2015 at 05:34 UTC | |
by GotToBTru (Prior) on May 28, 2015 at 14:13 UTC |