Hi Team,
I want to append the output data to 1st rows.
Main Sheet :
Input data-
Result - Main Sheet-
Note : In Main Sheet The Header Positions Wont Change. All i wanted is i need to write input data to main sheet in starting of cells everytime when the bot runs!!
Thanks
@Putta_Sri_Sai_Rishik_Chow
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
check the thread
Append range will work Ex- If in the sheet the data is up to A20 it will write from the A21
In my scenario everytime my bot has to write the data from A2 as i have attached snapshots
supriya117
(Supriya Allada)
February 5, 2024, 10:12am
4
Hi @Putta_Sri_Sai_Rishik_Chow
Use merge datatable activity
@Putta_Sri_Sai_Rishik_Chow
You Use Write Cell Activity With Specify Cell Name
In Both sheets the headers are not same… It will work…?
Ex - Main sheet the header name is “Name”
Input file the header name is “User”
supriya117
(Supriya Allada)
February 5, 2024, 10:22am
7
@Putta_Sri_Sai_Rishik_Chow
It will work only if the two columns have same name and datatype.
So Change the column in the datatable(note: Your excel has your back up data)
dt2.Columns(“User”).ColumnName = “Name”
Hi @Putta_Sri_Sai_Rishik_Chow
DT1:
DT2:
Note: Use Assign Activity to Rename ColumnName of DT2
DT2.Columns(“User”).ColumnName = “Name”
Then, Use Merge Data Table Activity
OUTPUT:
Hope it will helps you
Cheers!!