@Mayank_Soni
the solution given by @ashwin.ashok is a preferred one, as long as Sheet 2 has not to keep remaining Duplicates.
We do use here in the forum the copytodatatable for our suggestions. In case of empty filter results are to expect you can rewrite the query as described here:
Hi
Thanks For the Quick Reply
But It is showing “Value Cannot be Null” for Assign. I have tried Input and B2fin Both.
Can You Please Let me know What Output are you getting because I have a confusion that what should I Write in DataTable and in assign.
Hi @Gokul001
I have Checked the Workflow its working but in my case I have to remove the row on the basis of “Code_” because it is unique and in Input the Row is going to be different every time.
So that’s why I have to assign read cell "B2"and on the basis of that I need to remove the row from sheet2.
I am sharing my Workflow File it will be very helpful if you update it.
(From d2 in B2fin.AsEnumerable
Where Not dtInput.AsEnumerable.Any(Function (x) x(“Code_”).toString.Trim.Equals(d2(“Code_”).toString.Trim))
Select r=d2).CopyToDataTable