Before writing the data check if the datatable you are writing is empty or not dt.Rowcount>0 and then only append it
Hi @Anil_G can u show me with an example
Steps and activities are these…
Before you write range or append range activity…
Add a if activity…give the condition as dt.Rowcount>0 where dt is the datatable you are writing to excel
Then on the then side of if condition add the write range or append range activity
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.