I'm not an expert on the subject, so I might be wrong, but it looks that you aren't outputting to an Excel spreadsheet. It looks like you are outputting to a plain text file with a .xls file extension and new lines delimiting each entry then hoping that whatever application the user has registered to deal with Excel files can interpret that data and convert it to a real Excel format.
If so, then the solution is almost cetainly a case of using one of the Excel data handling modules on CPAN.
In reply to Re: Color highlighting in Excel
by dorward
in thread Color highlighting in Excel
by imperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |