+ Start a Discussion
Pawan Kumar 11Pawan Kumar 11 

I want to export report chart to excel via visualforce. Please help me

Hello,
I am trying to export excel file from VF page which contains report chart. But I am not able to do that. Please help me. my code is given below:
<apex:page id="page" showHeader="false" Sidebar="false" contentType="application/vnd.ms-excel#SalesForceExport.xls" cache="true">
    <apex:pageBlock id="results" >
         <analytics:reportChart reportId="00O90000007RacK"/>
    </apex:pageblock>
</apex:page>
ShashankShashank (Salesforce Developers) 
You may find this helpful: https://help.salesforce.com/apex/HTViewSolution?id=000003176&language=en_US
NK@BITNK@BIT
try this one.. I think it will helpful..

https://nitinkhunalsalesforce.wordpress.com/2016/10/27/visualforce-export-excel-report-using-remote-action-and-alasql/