pprin001
(Paolo70)
February 22, 2023, 2:13am
1
Hello.
I’d like to automate this part increasing the values.
Desired output :
It will be larger than 6 but I need help with the logic, please.
I did it with fill range activity but It replicated the last number 2 in all the cells.
Help, please.
Thanks.
I’ve upload the excel file.
numbers.xlsx (8.2 KB)
arivu96
(Arivazhagan A)
February 22, 2023, 2:43am
2
Hi @pprin001 ,
Use read range activity to get the data into datatable.
Create intcounter=1 variable
Inside for each row
Assign row(“Id”)=intCounter.ToString()
&
IntCounter=IntCounter+1
Then use write range to write in excel.
Regards,
Arivu
1 Like
Hi @pprin001
First format the id column to number and then use autofill range activity
Regards
Sudharsan
1 Like
Hello @pprin001
Refer to this Xaml file you may Get Some idea
Forum_NumberAutoFill.zip (143.2 KB)
Use Excel Modern Actvity.
If You are classic user, Enable activity vy following these steps:
Click Actvity pannel> Click Filter> Enablke the Show modern option.
1 Like
Gokul001
(Gokul Balaji)
February 22, 2023, 5:20am
5
HI @pprin001
You don’t need to Use Assign activity for counter.
In the For each row in DataTable
activity itself having the Index , So you can create the variable there.
Inside the Loop Use only one Assign activity
CurrentRow("Id") = indexCounter
Regards
Gokul
2 Likes
system
(system)
Closed
February 25, 2023, 5:21am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.