Initially I have created Workbook Application variable and using that in the Excel Application Scope inside For each loop activity to write into cells. But after writing into certain cells excel is getting closed although still there is something to write and getting the error as below:
Any thoughts on this, why it might be happening? Thanks in advance.
I have tried in this way. It’s not working. I could see that the problem is with Excel Instance itself. After few iterations, it’s closing automatically and returning the not able to find the sheet.
If you can use the latest excel package, how about using ExcelProcessScope and UseExcelFile activity (ModernExcel)? I suppose its process control is better than ExcelApplicationScope.