I am not sure exactly where I should insert the delay. I have an educated guess but I would hate to mess up the entire project due to simply not outsourcing for guidance.
After deleting
And inside using excel file
Try there
Looks like the file is being open when the delete file is being processed.
If it is opened manually then you can close it and retry, but if it is being opened by the excel application close. please make to you unchecked the keep excel file open option in Use Excel File application.
Kill excel before delete activity
Use can use task kill command also or kill activity
Hey issue resolved now ?
Excel process name
Right click on activity and click on help
U will be redirected to UiPath academy
So I am supposed to add the excel file name in the expression editor within the kill process?
And why do I need to redirect to the UiPath academy while I am using studio?
No u need to pass the process/ application name
Academy as in UiPath documentation
There you can see exactly which parameter or values you need to pass for the respective activity
Here for this activity if you will click help
You will be redirected to documentation,
There details will be there
For now need to add description or process
Just mention excel it should work.
Thanks
You need to look at the properties panel of the excel activities.
So to complete the process from where I am the steps from beginning to end are:
- Before opening the Excel file in UiPath, make sure it’s not already open in another application or in read-only mode .
- If the file is open, close it and try running the process again.
Save the Excel file again by additional step
- After reading or writing data to the Excel file, add an additional step to save the file explicitly.
- This ensures that any changes made to the file are committed and saved.
Add delay between opening Excel file and Excel activity
- Add a delay (e.g., 1-2 seconds) between opening the Excel file and performing the Excel activity (e.g., reading or writing data).
- This delay allows the Excel application to fully load and become responsive before UiPath attempts to interact with it.
Perform Excel activity
- Perform your Excel activity (e.g., read or write data).
Save the Excel file explicitly
- Save the Excel file explicitly using the
Savemethod.
Add close Excel or kill Excel in the last
- After completing the data extraction or writing process, add a step to kill the Excel process.
- Use the
Killactivity and pass the process name “excel” as the parameter.
Ok thank you I see what you were talking about and yes it was unchecked
Any issue during run ?
It should be index issue of the row
Check this one












