I was about to paste out my data on row 2 onwards. But everytime I read in another xml file the data paste back to the row 1. So can anyone please help me with this issue?
Attaching my xaml file as below. XML.xaml (23.6 KB)
I appreciate any reply from you. Thanks in advance.
BuildDataTable activity creates new DataTable and your index (= newDt_List.Rows.Count + 1 ) always returns 2.
Are there headers in your excel file in advance?
If so, perhaps you can remove this activity (Build DataTable).
Can you try?
Yes, if your excel sheet has headers at initial, because you can get whole data using read range activity before Build Data Table.
If your excel sheet doesn’t have headers, you need to if activity and use Build Datatable Activity at 1st time only.