Fill Excel file with variables

Hi @zhasmina.dimitrova

Move you build datatable to before the place where you are getting the information you required

And move the add datarow into the for loop where you are getting the data for each iteration.

Now in add datarow pass

{name,desception,degree}

These 3 being the variables containing the required information

So for every loop when new data is read the datatable gets updated

Cheers