I have a problem with deleting the excel file after I use it as an attachment to the Send Outlook Mail Message activity.
It says, Delete: The process cannot access the file ‘C:\file.xlsx’ because it is being used by another process.
I tried using Kill Process activity before the Delete activity for both EXCEL.EXE and OUTLOOK.EXE. It didn’t work out. I also tried putting some Delay before and after them, no way.
Hi Have you open this excel in Excel Application Scope before you send the mail or particular excel which you try to delete can be opened in the background check in the Task Manager in Details Tab.