function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Prosenjit Sarkar 7Prosenjit Sarkar 7 

How to download/send e-mail a pageblocktable as an excel format ?

NagaNaga (Salesforce Developers) 
Hi Prosenjit,

Please develop new page with pageblock table in this table data insert data that you want to download as excel and than add Apex:page tag Like this

 <apex:page controller="Contorller_Name"  contentType="application/">

Please let me know if this helps

Best Regards
Naga Kiran
Eswar Prasad@Sfdc11Eswar Prasad@Sfdc11
hi prosenjit sarkar,
just see below link ,you can find solution
in this blog demo link see you can get idea

Hope this helps! Mark it as solution if this solves your problem.
Eswar Prasad
Prosenjit Sarkar 7Prosenjit Sarkar 7
Simple solution @Naga. Is there any way to send the excel to an e-mail address ?