in reply to Spreadsheet::ParseXLSX returning zero
and using the resulting file. Sadly, I don't have the macro anymore, but I remember it was very short (some "open" and "save as"), similiar to simply open and hit "save".system ('C:\Program Files (x86)\OpenOffice 4\program\scalc.exe', '-headless', 'macro:///Standard.Module1.ConvertToHtml("' . $xlsx . '","' . +$file->canonpath . '")') if ! $file->exists;
I don't remember why I used OpenOffice instead of Excel. Perhaps it was easier to call the parameterized macro from Perl, but maybe not...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spreadsheet::ParseXLSX returning zero
by bitingduck (Deacon) on Dec 05, 2023 at 09:31 UTC | |
by soonix (Chancellor) on Dec 05, 2023 at 14:59 UTC |