Update the other excel sheet with one of the column for the first worksheet without have any overlapping data.
The reason as to why am stressing the point of not having any overlapping data is because the data varies yet am working with a template.
I’ve attched a sample file of the scenario.
Create a parametrized macro to add the number of column and invoke it and pass the number of column from the datatable 1, so that the macro can create that much columns in the target sheet so the already exists columns won’t be overlapped.
Use write range and in range pass “A1” to write the datatable.
I managed to kind of achieve what I wanted by adding an assign activity with defaultView and filtering out desired column but it doesn’t give me what I want completely because am dealing with a template and the data varies with the quantity so what should I do in an event of having the rest data that I don’t want to deal with how can I delete the remaining data.