Excel file corrupted when creating through RPA

Excel file corrupted when creating through RPA.I will attached the screenshots for error and script

@albin you cannot create Excel spreadsheets using this action. It can create a text format file, for example, a CSV file.

ok. thanks.