i am having one excel template , where i am inserting data to it then copying it to another folder, so every time values are changing so correct data insertion is not happening as old data is still there in template, so i was thinking to delete all rows from template every time.
@amruta_pawar I would suggest you to have the template file at shared location or a common repository.
Whenever you do excel manipulation, copy it to the working directory and start appending to it.