Hi is there anyway to export into excel ".xlsx" extension using visualforce page.
I am using contentType = "application/vnd.ms-excel#MyFile.xlsx" but gives en error while opening a file.
Excel cannot open the file 'MyFile.xlsx' becuase 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.
Please suggest me on this.