I want to copy this file to another excel and preserve the whole format, also I want to clear out the data previously present, so that I can write new data there.
1.Use Excel file of Original excel
2.Use Excel file of 2nd Excel
3.Use Copy/paste range activity to copy and paste the format and data
4.Use Clear sheet/range activity to clear the data
=> Insert the Use excel file activity and pass the excel file path.
=> Inside Use excel file activity insert the read range activity. Output - Datatable
→ In properties of read range activity make default for Read formatting option.
=> Use Write range workbook activity to write the Datatable to the another excel.
=> After Write Datatable to excel activity insert the Delete rows activity
→ In What to delete option make the All visible rows.