I have the data
the 2ndrow from Column B should be the header as sheet1=A2
same as that 3rd row from B should be the header as sheet2=A3
Hi @Jyothi1
Use Read range activity with range as A2 and select add headers option and use Write Range activity
Regards,
please provide any correct solution like row need to picked and write as header in new excel sheet
Can you try the below for 2nd row
NewDT=DT.AsEnumerable().Skip(1).Take(1).CopyToDataTable()
Input:

Output:

For 3rd row try below
NewDT=DT.AsEnumerable().Skip(2).Take(1).CopyToDataTable()
Note:
Make Sure Uncheck Add Headers option in both Read Range and Write Range activities
Cheers!!