Hello, I am currently working on an application with java and I want to do is save the result of SQL queries in an XL file (Excel 2007) the problem is that when I save the file .xlsx at opening the file it gives me the following message
But when I save the file with the extension. xls (Excel 2003) file opens without any problem. please advice , thank you for your help in advance.Excel cannot open the file '(filename)'.xlsx' because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.