Unable to write Excel file

From time to time I recieve this error when trying to write an excel file using Write Data Table This command is unavailable because the license to use this application has expired. I’ve seen a few topics with alternatives but exactly what does the error mean? is it my Excel license or UiPath license? as far as I know both are active.

I’m looking to understand why the issue happens, I have already worked around the issue.

@Botzilla,

As per my analysis, it’s excel issue. Refer this: c# - This command is unavailable because the license to use this application has expired - Excel Automation - Stack Overflow

You can use Write Range workbook activity to write the datatable to excel file without any dependency on the excel installation or version.

@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

Hey @Botzilla this error comes when you are working with excel activities but your Excel that is installed in your machine is expired or outdated.inside of using WRITE RANGE you can use WRITE RANGE WORKBOOK. so you can get rid out of this issue.

cheers

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