I’d like to copy the value, which is from the excel file, into the system.
However, I’ve tried many times, but it still extracts the wrong one.
Hope anyone can help me !
Here’s the table looks like :
And the steps are as follow : Every time RPA opens the file
(1). it would find the first null in the column “Person in charge”
(2). find the value in the column “Event Number” based on (1)
(3). copy the value and paste into the system
Does anyone have any idea ?
please help me to solve it
many thanks~
Workbook Read Range into a datatable. For Each Row loop to do what you need to do with the values and update the Person in charge value for the row, then Workbook Write Range back to the spreadsheet.
I’d like to ask another question
After I get the “Event Number” in the step(2), I want to type “RPA” back in null cell in the “Person in charge” before I copy to the system.
I’ve already used Write Cell to fill “RPA” in the cell and the Range mentioned as “row(“Person in charge”).ToString”.
But it turned out nothing, the null cell is written in nothing, then.
It just goes to the step(3) to copy Event Number to the system.
How should I fill in Range in the Write Cell Activity in this situation ?
Thanks for your help !!