mashy2
(mashy2)
April 15, 2019, 3:23am
1
Hi,
Im really new to UIPath.
I want to know is there easy way to copy all value from specific cell and paste it into the same template.
Example:
This is the source file
I want to copy all value from SEG 1 and paste all the value into another specific cell
Thank you so much
Really appreciate all the help
mashy2
(mashy2)
April 15, 2019, 3:24am
2
This is the cell that i want to paste the value:
rahatadi
(Aditya Rahatekar)
April 15, 2019, 3:27am
3
use read range activity and select starting cell ref as A7 and store in DT1 (datatable variable)
use assign stage
var1=dt1.row(0).item(“SEG 1”).tostring
now paste it on cell where you want.
2 Likes
mashy2
(mashy2)
April 15, 2019, 5:30am
4
Thanks for the reply,
but how if i want to select the whole value under SEG 1?
Thanks so much
rahatadi
(Aditya Rahatekar)
April 15, 2019, 5:37am
5
@mashy2
Could you please paste excel ?
mashy2
(mashy2)
April 15, 2019, 5:48am
6
I have attached source file and final result excel file.
What i intended was to paste all value from SEG 1 to rows under Comp
any column in final result.
Final result.xlsx (16.9 KB)
Source file.xlsx (11.7 KB)
mashy2
(mashy2)
April 15, 2019, 6:20am
8
Thank you but may i know what does this expression mean?
string.Join(Environment.NewLine, datatable.ToArray() )
rahatadi
(Aditya Rahatekar)
April 15, 2019, 6:59am
9
@mashy2
1.read column values
2.convert ienumrable to array
3.join array with newline
Please mark most useful reply as solution so that others can find solution easily
1 Like
system
(system)
Closed
April 18, 2019, 6:59am
10
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.