Hai @Paulissen … Initially use read range that u need to copy in Excel( range of copyable coloumn) or Use Selector for select particular coloumn( Find element) then use write range activity to write in another Excel file…
You can do a read range to get the data to a datatable. Next, use removed datatable column activity to remove the columns that you don’t need and do a write range to write the remaining columns to a new excel file…
Hai @Lahiru.Fernando … I think @Paulissen just wanna copy a coloumn to new excel only … There’s no need to remove a coloumn I think so… Is there another way that he seeking for…
Thanks for checking
From what I understood from the question is that @Paulissen wants to copy a set of columns that he need from one excel and to add it to another sheet.
Since there are multiple columns involved, I though the read range to datatable, and removing the unwanted columns from the datatable is the best approach… and there is no UI interaction required…
Anyway, correct me if I understood in a different way
@Paulissen
What @Lahiru.Fernando said is correct. Just one change in it, if there are too many columns in excel and you want very few columns to be copied, then using remove datatable column will be an expensive process. Instead, use Filter data table.
Using read range activity, read data from excel.
Use Filter data table activity. In the Filter Wizard,
Do not specify anything in Filter Rows tab.
In output columns tab, Mark column selection mode to “Keep” and Under columns, add the columns that you want in your output datatable.
Use write range activity to write the data in new excel/sheet.