I an trying to iterate a large worksheet containing about 10k rows and several formulas on each row. I set the “View Excel Window” to false in the “Excel Scope” activity I am only updating a few rows so I filtered the worksheet with a “Filter” activity and used the “Read Range” activity to copy about 15 rows to a data table by selecting visible rows only. I defined the range as fc.Sheet(“Sales”).Range(“A:Y”) so as to only get a few columns for visible rows only. But iterating the data table is slow or freezes. I have a “Write Range” activity to write the rows back to the worksheet but it freezes. Any one have any ideas?
I see I can copy the range to another tab where I may try to write VBA or Python to write it back to the original worksheet after performing operations on it.
I only need the three-member primary key and two values and want to update several values.
With range “A:Y”, UiPath might returns 10k rows, that’s why the process is slow. If possible, try a more specific range like “A1:Y15”.
Or if the rows with values are not continuous rows, try linq to filter them to an array of drow
It appears 1 million blank rows somehow were added to my worksheet. I deleted them and appears to fix things. However, I switched to odbc and sql statements which seem to work well. However, I am trying to use named parameters (@param) in the “Run Query” activity, but I am only able to make ordinal position parameters with “?”. Can anyone confirm if named parameters are not valid for this type of connection?