This is what I intend to achieve:
Merge two datatables that have one column.
I read in each Excel with several columns and then merge it into one datatable and later print it out as a single column Excel.
This is code:
With a minor change(I swapped the dtInputFilter with dtOutputFilter), I managed to get the output. However, I have a questions.
When I used the Merge Data Table activity, I got the column count of the dtOutputFilter after Merge Data Table activity and it’s result was 2. It is supposed to be 1. I don’t know why does Merge Data Table activity add the columns to be merged in the second column. Do you know why?
So, MergeDataTable recognizes theses columns are not same because column name is different.
It may be also good if turn on add header option in all the ReadRange activities.