Unable to write Excel file

@Botzilla

Can you try with write range workbook activity,
and this mostly related Excel application side, check the access and permissions of excel application.
And check Excel Add in extension is installed or not from UiPath Studio