Write Cell Workbook: Central Directory corrupt

i create excel file using current date i need to write cell for headers what is best pratice…i used write cell activity showing error Write Cell Workbook: Central Directory corrupt.

Hi,

For now, can you try to remove CreateFile activity? In this case, probably it’s unnecessary.

Regards,

i need to create excel file as currentdata.xlsx

Hi,

WriteCellWorkbook activity automatically create xlsx file if it doesn’t exist.
On the other hand, if there is xlsx file, it try to write into the file. In this case, CreateFile mkaes empty file and it causes error.

Regards,

Thankyou got it @Yoichi

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.