Data is added in 3rd row in excel file

Hi, i have a scenario where the data is added in 3rd row instead of 2nd row… Used build data tables, add data rows & write range activities
Find the screen shot fyr…



Plz suggest me correct approach…

@Somanath_Somu

image

Remove the rows in the build datatable

May be that is because of one extra row
image

May I know Did you write the column header in excel sheet seperately?

Removed, but still same

Nope not added in excel file

image
Can u try this

Regards,

Hi @Somanath_Somu

can you share the entire row screenshot in the excel

as i think you are getting only some values starting form Column R
in the third row right ?

Hi @Somanath_Somu ,

Input
image

Output
image

Workflow
image

Use assign activity

dt.Rows(0).ItemArray = dt.Rows(1).ItemArray

Thanks,

Any Updates? @Somanath_Somu

hi @Somanath_Somu

can you this before write and place the variable in the datatable of writerange

dt.AsEnumerable.Where(function(row) Not row.ItemArray.Any(Function(col) String.IsNullOrEmpty(col.ToString))).CopyToDataTable