After using data scraping from site that contain 6-7 tables (each table contain different number of rows).
I need to align them according to the first row of the first datatable after each scraping.
Attached are for your reference and expected outcome inside too.
I tried using macro(Drag range of cell) but the number of rows for each individual is not fix all the time. For e.g. “hobby”
Nope into the same datatable variable and maybe that’s why it turns out like that .
After the first datatable , second third fourth fifth datatable will be in new row new column.
It show exactly like the excel I have attached
Different datatable but using the same datatable variable. Because all these datatable are belong to one person.
So is like
Data scrap → data scrap->data scrap->data scrap->data scrap->data scrap->data scrap-> open excel-> write range with that one datatable variable that used by all
Same variable first data scrap for one table Use write into excel
and then empty the datatable and scrap the second table and write into excel with range specified
and so on.
how to empty the datatable?
i do not need any range specified because the number of data from the site is not fixed.
i just need the data to be in correct format when extracting
This is exact workflow … i stacked all the “extract structured data table” BECAUSE THEY ARE BELONG TO ONE INDIVIDUAL. HOPE I DONT HAVE TO KEEP REPEATING ANYTHING READ FROM TOP
let me write the full story again.
so my job is to extract multiple datatable out from a site.
Each datatable rows are varies
This is a dummy set of the exact workflow of what i did. Main.xaml (70.5 KB)
In this dummy set, there is only a SINGLE datatable extracted which is diff from mine.
Actual data scrapping in my flow looks like this :
THEN FINAL WRITE TO EXCEL
WHICH BECAME THIS (MOCKUP DATA):
yellow is Extract Structured Data 1 var = dt1
red is Extract Structured Data 2 = dt1
green is Extract Structured Data 3 = dt1
blue Extract Structured Data 4 = dt1
brown is Extract Structured Data 5 = dt1
so for every Extract Structured Data table it extract is will end up in the next column and next row.
This is what i wanted:
Technically u can ignore the workflow that i give because the main concerned is the multiple Extract Structured Data table and the format in excel.