I have a list in excel, the robot need get a data in a cell and fill the next cell with another data, after he need go to the down and make the process again. For example:
You can use send hotkey with the arrow keys and navigate that way; however is there a reason why you canβt just do the following:
- read all the data in column A - using read range activity on the range βA:Aβ
- do whatever calculation you need to do
- write the new data using a write range starting at cell βB2β?
I would highly recommend doing the steps above over navigating with arrow keys. Arrow keys can be less reliable in the long run.
Hey, You can also try this.
- First initialize a counter variable with default value as β2β
- Read the excel with read range(dt).
- Use while loop with condition counter < dt.Rows.Count
- Read the cell with counter (βAβ + counter.tostring)
- If you want to write the same data then use Write cell with βBβ + counter.tostring
- Increment the counter.
You can try below process.
- You can read the Excel data into a Data table by using Read Range activity.
- After reading into table, go for For each row in table and check If row(βData1β).Tostring=ββ then do row(βData2β)=βββ¦
- After completion of all rows you can import the this table data to excel again.
Uipath, you people really need to work on these things.
Go to next cell
Go to right cell
Go to left cell
Go to next empty cell
All these things are frequently needed. Automation Anywhere is already having all these.
6 Likes