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
Arjun y 7Arjun y 7 

Display uploaded Excel sheet columns in an VF Page

HI All,

I have a requirement that when i upload a excel sheet in salesforce via visualforce page. I need to display the uploaded excel sheet columns in an page block table as rows. Could you please help me how can i achieve this?

Thank You!!
atla satheeshkumaratla satheeshkumar
Hi Arjun,

put all XL sheet columns in a List<string> and Display it through page block table.
Arjun y 7Arjun y 7
Hi Sateesh,

This shouldn't be a static way. Excel sheet coulmns may vary based on the upload sheet by the user.

Page should read the excel sheet coulmns and display in same VF page dynamically.

It would be very helpful if you send me any sample vf page and apex code.

Thank You!!!