Excel application scope will close the Excel once it is complete. If it is already closed, it will throw error. So give Continue on error property as true or give Excel application scope inside try catch.
Excel application scope will close the Excel once it is complete. If it is already closed, it will throw error. So give Continue on error property as true or give Excel application scope inside try catch.