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
Yadhagu LYadhagu L 

how to export the vf page as xlsx file

SwethaSwetha (Salesforce Developers) 
HI Yadhagu,
You can use the code from below links to get started
https://salesforceforlightning.com/blog/salesforce-coding-guide/data-table-to-show-data-exporting-data-using-excel-file-email-excel-as-an-attachment-file

https://salesforce.stackexchange.com/questions/330359/how-to-download-displayed-data-from-vf-page-into-an-excel-file-without-querying

If this information helps, please mark the answer as best. Thank you
Yadhagu LYadhagu L

Hi Swetha,

Thanks for the reply,

We are using apex:repeat in VF page to loop data

1. We will send select records from list view to VF page

2. Need assistance on creating/adding/looping data in new excel worksheet but in same workbook(each record in seperate sheet, but need on single workbook)