what value should I provide in To field in assign? and Do I need to provide the same value in Write range activity?
lrtetala
(Lakshman Reddy)
July 20, 2023, 9:49am
23
Hi @ayushi_jain3
In your case Range you given is wrong so that’s why error is came.
Give this
Excel.Sheet(“B”)
It is working
supriya117
(Supriya Allada)
July 20, 2023, 9:49am
24
@ayushi_jain3
In add data column activity:
lrtetala
(Lakshman Reddy)
July 20, 2023, 9:50am
25
@ayushi_jain3
I am attaching xaml for your reference
Test Sequence.xaml (8.7 KB)
lrtetala
(Lakshman Reddy)
July 20, 2023, 9:52am
26
@ayushi_jain3
If you got the solution for your issue. Please mark it as solution to close the loop.
Forum FAQ - How to mark a post as a solution
This document is part of our beginners guide .
This article will teach you how to properly mark a post as a solution.
We were closely following our last UiPath Forum feedback round! topic and carefully extracted all the bits of feedback that was provided. As such, we would like to tackle the topic of solutions on our Forum and how to properly use them.
When is the topic resolved?
The topic can be considered resolved when the topic author has fo…
Regards,
Vikas_M
(Vikas M)
July 20, 2023, 9:59am
27
Hey @ayushi_jain3
U can use this method too
So basically i have build a datatable just with column names
and then i merged it to the input datatable
And then i wrote it into the excel
The addheaders property of Write range workbook should be checked
Test (2).zip (10.3 KB)
Hope it helps you!
Thankyou, it worked. I was not using double quotes in the column name !!
It is adding the required column name I am providing, nut also also an extra column before that as “Column1”
lrtetala
(Lakshman Reddy)
July 20, 2023, 10:27am
31
@ayushi_jain3
You can use this also to add column in datatable
system
(system)
Closed
July 23, 2023, 10:28am
32
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.