in reply to Reading and storing a web page as a spreadsheet query
Using Perl Excel to read and store the figures from the web page that I needed. It would have been useful to store the spreadsheet as a spreadsheet so I used the line (see trial code below) $workbook -> SaveAs ($spsh_file);. The file name did include .xlsx as the extension. This did store the spreadsheet. However, when I tried to open it within Excel I was told that the file extension or format was not valid.
What exactly is "Perl Excel"?
If you're referring to the Spreadsheet::WriteExcel module (if so, why not call it by name?), it writes old-fashioned excel files, so give them a .xls extension, not .xlsx.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reading and storing a web page as a spreadsheet query
by merrymonk (Hermit) on Sep 17, 2010 at 10:03 UTC | |
by ww (Archbishop) on Sep 17, 2010 at 10:54 UTC |