Using Export an Excel Worksheet to CSV
Select a workbook and optionally enter a sheet name. The first worksheet is used by default.
Check the result
Only visible cell values are written to CSV. Use XLSX if you need multiple sheets or workbook formatting.