Test.xlsx is read only and can not be overwritten

Hi All,

I am using Modern Excel activities and while updating data in excel getting this error. Could you please help on this how to resolve this problem.

TIA

Hi @Manaswini_UI,

This error usually means the Excel file is locked or opened in read-only mode.

Please check:

Make sure the file is not open by anyone and EXCEL.EXE is closed in Task Manager.

If the file is on a network/OneDrive/SharePoint, try using a local copy.

Right-click the file → Properties → uncheck Read-only.

In Modern Excel, ensure Read-Only is unchecked in Use Excel File.

Hi @arjun.shiroya , File not using by anyone and using modern activities, before updating data in excel using kill process(to kill excel.exe).

@Manaswini_UI

Check if you have read/write access to the file path.

Hi @Manaswini_UI

This error is usually caused by the Excel file being locked or a Modern Excel session issue.
Close the file, keep all actions inside Use Excel File, disable AutoSave/OneDrive, and update Excel activities.

which activity are you using to write data to the excel?

@Manaswini_UI

please use excel process scope around the use excel activity

and select the below settings

cheers

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