Download Salesforce Visualforce Page in Excel Format
contentType="application/vnd.ms-excel#AccountFile.xls" can be used to download the Visualforce Page in Excel Format. Sample Code: Apex Controller: public class AccountExcelFileController { public String xlsHeaderInfo { get { String strHeader = '<?xml ....