Why is my bot shows excel is used by another process even excel is closed in background?

Why are you using 60 write cells, Can’t you use for each or some looping concept, or some conditioned-based looping.

60 write cell is definitely not a good choice.

The chances of failure are really high… You are opening a file 60 times back to back. this will end up either corruption excel or error that you are facing

2 Likes