I want update some details one data table to another data table based on account no.
If any account no match that row should update Ac.no and Ad.no column value
I want to fine account no excel 1 to excel 2 find the matches once found the account no for example A5 than update column of D5,E5 “Ac no” and “Ad no” from excel 2 to update excel 1
Read both Excel files into separate datatables. Then Join Data Tables, designating the account number columns as the columns to match. This will give you a single datatable with all columns from both Excel files, aligned by account number. Then you can use that datatable to write what you need back to Excel.