How to delete excel sheet from a folder

I want to delete an excel sheet from folder at the end of for-each loop. How do I do this?

Hi @shrutika

Use System/File/Delete activity (UiPath.Core.Activities.Delete) and insert the path as variable from your for loop. You can read more about this activity here: Delete. In case of further problems, check out the Activites guide (see link), it will really find to search suitable activities for your problems.

delete

Best of luck!

Thank you