I want to write the error in excel sheet using error handling but when I give the range of particular cell like A3 so it work and write the error on that cell , but when I does not give the range in write cell so it does not work . and even when I used the append range Its not working so can you please help me.
You can use counter so your cell in write cell will be dynamic.
Your cell field would look something like this “A” + Counter.ToString.
Just make sure that every time you encounter an error, increase the value of Counter by 1.
but how can I specify the range because there is a multiple range in excel file and I also used append range with data-table. but I am not getting the result properly.