Run time execution error First studio process

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



I may have entered in the wrong area but it came out blank yet again

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 ?


Thank you for checking. I am not sure what the description within the kill process would be.


I don’t see the option you are referring to unless I am looking in the wrong place.

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 Save method.

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 Kill activity 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 ?

now I’m getting a new error message

@brixt.macharia

Can you show us the write cell activity Where to write expression

Regards,

It should be index issue of the row

Check this one




I believe the write cell activity you asked for is the first screenshot I sent if I am wrong please inform me.