I have a task dropdown… It contains plenty of tasks name… So for each task name some data need to be extracted and need to write it in sheet 1.
Sheet 2 is an excel template… This is the final template so i need to write data from sheet 1 to sheet 2 corresponding to there column names. can anyone please help me to try out this.
We can use sheet1 data and create for us a lookup data dictionary:
then we can use for sheet2 a dtData2.NewRow for getting an empty row within the Sheet2 Schema which we can populate with the help of the lookup data dictionary
You can use the Vb code to use in Invoke vba activity.
→ Use the Excel Process scope activity and insert Use excel file activity, give the path of the excel file in Use excel file activity.
→ Insert the Invoke vba activity inside Use excel file activity.
→ Check the below text file which contains the vb code in it.
I have attached the workflow . You can basically leverage lookup datatable activity and achieve this.I have put the data in separate variables but you can customize it as per your needs SplitData.xaml (20.6 KB)
Hope it helps!