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
Sascha DeinertSascha Deinert 

Export to xlsx file


I need to export a list of records to an excel XLSX file. I found a good way to export data via lightning component, but the export extension is csv. Is there a way to change it into xslx extension?

Shubham Raj 29Shubham Raj 29

Hi @Sascha Deinert,

You can export records from Report and can select the file extension.


Let me know if this was helpful. If it does, please mark it as Best Answer to help others too.

Shubham Raj