Hi i am new to work with excel. Can you please suggest me how can i add specific number(SearchRequestNumber**(Marked Yellow)**) in the excel file row by row each time when the process runs without overwriting. In my case if request is not found then add to excel file and when the process runs again with new number and if also request not found then add the number to excel file and so on.
you were almost done
its like updating the excel for each request found or not, with a value in a particular column…
Kindly correct me if i m wrong with understanding the query
Fine…
you can update the excel, with a column in each row and each cell like this
use a write cell activity buddy with the sheet name and range be like
“A”+Counter.ToString
(i take as A column to be updated the value you have, you can change with the one want
use a assign activity next to the writecell activity to increment the counter with +1
counter = counter + 1
where the counter is a integer variable of default value 0 declared in variable panel…
so now the column will iterate through each cel buddy
like this A1, A2, A3,…
Thats all buddy you are done
kindly try this and let know
Cheers @zeshanm9
No its not working as it delete all the rows and columns from the excel sheet.
can you see my workflow attached above i am doing the same but maybe i am missing something.
can you do this for me in my workflow attached above
cheers
great @zeshanm9
is that if kept inside a for each loop .
because you told that the process will run again…is it repeating again with a for each loop…?
in the one i gave you i kept the default value of 1 to counter so
for “A”+Counter.ToString = “A1”
thats why its writing A1 first and overwriting
you can mention the counter default value with any row number that you want to start initially and write in each cell next to it from there on with counter increment
Cheers @zeshanm9
you were almost done
Fine in which column and in which row you want to start entering the value first…
like A1, A2,OR B1, B2,
Which one buddy
Cheers @zeshanm9