yes of course it possible @winningvish
mention the range as this in your read range activity
“A1:J1929”
i dont know the last column here i just mentioned the column as J
you can mention based on the last column in your excel,
Cheers
And use Select Statement to ignore row contain the “Closing Balance”. Query Like
dt = dt.select(“[column Name] Not Like ‘Closing Balance’”).copytoDatatable
if this Closing Balance is in the last row (though not clear at what row it would be)
then the read range will usually read till last row and last column only not the entire excel sheet…
even the output datatable will give us only the row and column till end cell which has value, I think we dont need to worry on that and we can mention directly mention like “” in the read range without any range being mentioned
Cheers @winningvish
Then it that case, we cannot handle with read range activity buddy
may be we can process the data till term CLOSING BALANCE inside a for each row loop with a if condition like row(“yourcolumnname”).ToString.Equals(“Closing Balance”)
if this condition gets passed it will go to the THEN part of if condition where we can use BREAK activity so that iteration will get terminated from the for each row loop once the row with term closing balance is met
Hope this would help you
Cheers @winningvish
After modifying the concept it worked.
First read the total excel file by using Read Range.
After that In for each row used If condition. we have to put the Counter to get number of rows for each item while checking for Closing Balance and again used the Read Range, passed the counter value in cell range.