prev month.xlsx (14.0 KB)
what value should I provide in To field in assign? and Do I need to provide the same value in Write range activity?
In your case Range you given is wrong so that’s why error is came.
Give this
Excel.Sheet(“B”)
It is working
In add data column activity:
If you got the solution for your issue. Please mark it as solution to close the loop.
Regards,
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”
You can use this also to add column in datatable
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.