I would like to extract ‘address’ table from the below worksheet.
Please note that there might be additional rows going forward in all the tables. However, Address will be in first column only and the separator of each table is an empty row.
first you have to search for Address in column 1 and then you have to get in between details untill it find an empty cell?? is that what you are looking for?? @syedbahauddin
Well
you can do this!
1 - Read Range get output as outDataTable
2 - Assign(SecondDataTable = outDataTable.Clone)
3 - For Each Row (outDataTable)
4 - use if condition like this row(0).ToString.Contains(“Address”) then Assign(BoolIndicator = True)
5 - Another if condition like this pass BoolIndicatior in if use another If as if row(0).ToString = Nothing then Assign(Boolindicator = False) in
in Then part you can use Add Data Row to add in between rows like in ArrayRow = row.ItemArray and pass SecondDataTable in DataTable
6 - Write range and give SecondDataTable as DataTable then you will get in between row then you can loop through that datatable