There are several ways to generate Excel Spreadsheets using Perl. You need to provide the code you're using, because the techniques are very different. Some people use
Spreadsheet::WriteExcel while others use
Win32::OLE to directly control an instance of Microsoft Excel. Once you have code added to your post, separated by a code block to make it nicely formatted, you'll receive accurate answers.