Use the "Read Range activity to read the first row.
Iterate through columns using a For Each loop to find the first empty column.
1.Use "Write Cell"to write data in that column.
Alternatively we can use Vb.net
Go to the Next Cell
-
Read data using “Read Cell”
Identify the next row (CurrentRow + 1)
Use “Write Cell” to move to the next cell. -
Go to the Right Cell
Move right using “Column Index + 1” and write data using “Write Cell”. -
Go to the Left Cell
Move left using "Column Index - 1"and write data using “Write Cell”. -
Go to the Next Empty Cell
Use “Read Range”, loop through the cells to find the first empty one, and use “Write Cell” to insert data.
It would be great if UiPath could introduce built-in navigation activities for these common Excel operations.