I am using Read range activity to get rows count.
In my sheet until row# = 208, values + formulas are present hence read range is giving me rowCount = 208 but…
Actually, sheet has row from 209 to 300 with only formulas in cells. Also, value of these cells is blank ( as per formula’s output).
I want to identify the actual range which in my case is “300” and not 208.
I am trying your another solution from other post,
But as soon as i type Excel. and press Ctrl+Space UiPath hangs for sometime.
I tried to type Excel.Sheet but there also after “Excel.” as soon as I type S it hangs again.
I am sorry, that is not possible. Not even screenshot.
for you to understand:
In Sheet1 - I can see 300 rows in total.
from row 1 - 208, cells contain values + formulas
from row 209 - 300, cells contain only formulas.
I used read range in excel application scope, maxRow = dt.rows.count = 208.
It is not considering rows from 209 to 300 in range by identifying or reading them.
Can you send xaml or screenshot on how you are able to read empty cells also?
Hope you have used some formulas atleast in those cells in last few rows of sheet.
Any suggestions on this from anyone?
Even if someone can provide vbscript to open a .xlsx/b/m file, select a sheet and find it used range which will cover above mentioned scenario.
In this file read range gives rowCount = 30 but from row 31 cells only contain formulas (which I have replicated) and no values (or Empty (“”) due to formula’s result). So instead of 30 I need rowCount = 50 in this case.
Please help. sample.xlsx (15.1 KB)