Read excel file and paste it to a different template of excel file

hi. how can i copy transfer specific column value from dt1 to a different template dt.

i only need to get specific columns and value.

Hello @ldiaz, :smiley:

:point_right: This topic here will help you for it:

Let me know if this helped you! Ok?

Regards,

Bruna Bruno.

1 Like

You can use a linq query

dt=dt1.asenumerable().select(function(x) x(“ColumnName”)).Copytodatable

2 Likes

Hi @ldiaz

You can also try with filter data table activity to get specific column

You can pass the Input and Output DataTable

image

Check out this for your reference

Regards
Gokul

2 Likes

i have 3 excel files first is dt1 and dt2
the purpose of dt1 is to compare ID in dt2, if matched id
it will get a value in specific column of dt2 and write it in dt1
then after i will transfer all the value of the dt1 to my 3rd excel which is just a template. the problem is the template columns is mixed.


dt1


template

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.