I have both 2003 and 2007 Excel versions installed on my machine. The current source code uses Office11 (2003) interop assembly Microsoft.Office.Interop.Excel.dll to create the Excel template.
When I create the template and open in Excel 2007, it opens perfectly. The same template when I open in 2003 I get the message "File format is not valid".
_excel = new Excel.Application();
_workbooks = _excel.Workbooks;
_excel.Visible = false;
_excel.DisplayAlerts = false;
// create and add a workbook with 1 worksheet named "Sheet1"
_workbook = _workbooks.Add(Excel.XlWBATemplate.xlWBATWorksheet);
_sheet = (Excel.Worksheet)_workbook.ActiveSheet;