You have switched off DisplayAlerts - this means that Excel will not tell you what it thinks is wrong.
Also, you don't show us how you save the file, or what the filename is. "Bad extension for file" suggests that Excel expects something different than what you give it.
Also see maybe Text::CSV_XS to read the file, or Spreadsheet::Read.
In reply to Re: Win32::OLE for Excel fails to open newly generated XLS file
by Corion
in thread Win32::OLE for Excel fails to open newly generated XLS file
by woland99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |