in reply to Delete entire row without using Win32::OLE
You can emulate this by reading each row (with Spreadsheet::ParseXLSX for instance) and then checking if that row is to be kept or deleted. If the row is to be kept, write it to a new Excel-file (with Excel::Writer::XLSX for instance) and once you have processed all sheets and rows in the original spreadsheet, your new spreadsheet should contain only the data you need.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial Deltronics
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Delete entire row without using Win32::OLE
by ravi45722 (Pilgrim) on Sep 02, 2015 at 06:04 UTC | |
by poj (Abbot) on Sep 02, 2015 at 06:33 UTC | |
by ravi45722 (Pilgrim) on Sep 02, 2015 at 11:29 UTC | |
by Corion (Patriarch) on Sep 02, 2015 at 13:06 UTC | |
by ravi45722 (Pilgrim) on Sep 02, 2015 at 13:15 UTC | |
by poj (Abbot) on Sep 02, 2015 at 18:14 UTC | |
by ravi45722 (Pilgrim) on Sep 03, 2015 at 05:04 UTC | |
|