I am trying to update the data into one column and for that I need to get the last used cell reference +1 number.
Ex. My A Column have data till A14 and my Q column have data till Q9. So in this case my task is to start updating the data from Q10.
I have used Read range activity but which give me entire table count that is 14 and I want on Q column count.
I have tried with below activity also which is working fine if there is data available after Header but gives error if there is no data after Header.
dt.Rows((From row in dt.AsEnumerable() Select Convert.Tostring(row(“last_ColumnName”))) .ToList().Count-1)(“last_columnname”)
To have the row index alone have this expression alone (From row in dt.AsEnumerable() Select Convert.Tostring(row(“last_ColumnName”))) .ToList().Count-1