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
Samrat ChakrabortySamrat Chakraborty 

Read .xls or .xlsx file from Visualforce page

Hi All,
I want to read and Parse an Excel(.xls/.xlsx) file from a visualforce page. I have got and implemented solution for csv, but the requirement doesnot allow me to do it using csv, I have to enable reading/parsing of xls or xlsx file.
Can you provide me with some guidance any custom code or appexchange package or sfdc api's which will enable me to achieve this functionality using the VF page and Controller
Balaji BondarBalaji Bondar
Hi Samrat,

reading CSV using VF/APEX is possible.For XLS , You can use the excel connector, see http://wiki.developerforce.com/page/Force.com_Excel_Connector

Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.
Samrat ChakrabortySamrat Chakraborty
Thanks for the reply, tbut this Excel connector has to be installed in my m/c, inturn the Clients m/c or in each m/c from where the user wants to upload the excel. this is not a feasible solution