Hi @Venu_V
1.Is the input present in datatable?
2.Do you need to write output in 2 sheets like Potassium and Dubnium sheets?
If that is the case then try like below
potassiumDT = (From row In InputDT.AsEnumerable()
Where row("ColumnName").ToString.Contains("PORD")
Select row).CopyToDataTable()
dubniumDT = (From row In InputDT.AsEnumerable()
Where row("ColumnName").ToString.Contains("DORD")
Select row).CopyToDataTable()
Regards,