However it is hard to tell from just this code. It would be better if you could post a fully working example that demonstrates the problem. Use the bug_report program in the standard Spreadsheet::WriteExcel distro as an example.
The main reasons that an Spreadsheet::WriteExcel file will fail to load in Excel are:
--
John.
In reply to Re: Strange behaviour (Spreadsheet::WriteExcell)
by jmcnamara
in thread Strange behaviour (Spreadsheet::WriteExcell)
by hawtin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |