i want to dynamically pass column range in write range activity because the column range changes everytime according to the data i get whenever i run the flow.
please any help could be appreciated
thanks,
kaavya
i want to dynamically pass column range in write range activity because the column range changes everytime according to the data i get whenever i run the flow.
please any help could be appreciated
thanks,
kaavya
Can you specify more about the column range dynamically?
Like are you adding any other data or how it will be
Thanks
sure @Srini84 i have to create pivot table for two portals in one excel which i have created and for 1st portal i will have 1st day of all the sum of amount details in one column with respective id nos and after that i have to join other portal details in the same excel file but in the next of the column where the 1st portal column ends
i have to append column wise @Srini84
Write Range->Will Erase the existing data
Append Range-> Will keep the existing data and write the data under the existing data
So I didn’t understand how you are writing it column wise? Is your DT is having only one column?
If you could share some sample excel’s that would be great to understand
Thanks
Hi Kaavya,
We can try using
Let me know this helps
Regards
Shaf
Hello @kaavya,
If the column has always the same name f.e: Value, use this name to join with the other datatable.
its two diferent DTs, lets say dt1 and dt2, first i will print dt1 from the range of A3 and the row count is dynamic so in order to print dt2 i will use like this “A”+(dt1.rows.count+3).tostring why +3 is i need to give space between two Dts when i print in excel
now what i want is, i wanna print my two DTs by increasing column count
for example dt1 should take A-D columns and dt2 should continue from E-AB, here except A, all the other column ranges are dynamic so i tried to give range like this “A”+(dt1.columns.count).tostring but it dint increased as a,b,c,d and so on, it again increased by row count like A1,A2,A3 and so on.
i hope explaine better now @Angel_Llull @SHAF_MAIRAJ @Srini84
You can get the column count using dt.Columns.Count
After that you can refer the below to get the AB etc
You can get the count of the columns and write as below to get the result
Hope this may help you
Thanks
thank you @Srini84 can you suggest some other ways if it is possible ?