Hello everyone, in my workflow, I’m trying to use Excel within it, but this error message has recently appeared, even though everything was working fine before, I’ve already tried several solutions, including AI assistance, but the error still persists."
. Thank you very much, guys."
Hi @hentsou_mamy,
It seems file was opened by you or someone else try to close and try again.
Or
Use Workbook Instead of Excel Application Scope
If the file is locked, try using the Workbook Activities instead of Excel Application Scope.
Regards,
Arivu
1 Like
The error indicates that the file is locked/open in read, write mode by another user or current user and you can’t open it again in read/write mode.
Solutions:
- If the file is on local drive and you are sure, you are the only user who accesses the file, use Kill Process activity to kill
excel
application. This will release the file. Use Excel Process scope/Use Excel File/Write Range
activity to write that data. This works even the file is open by current user.
1 Like
你把“C:\Users\ADMIN\OneDrive\Bureau\Nouveau dossier(2)\rapport.xlsx”路径下的文件关闭了,你在重新运行程序应该就好了。
1 Like
Use Kill Process
activity to kill excel
application before using excel file in any activity
1 Like