create a datatable using required columns you need using build datatable
then use add data row activity and add the rows to the datatable after extraction
at the end use write range/append range
if you want to write to excel directly then use write cells and keep the counter
or create a datatble with single row and use append range in loop
cheers