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
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)
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
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)