Issue with the sum in excel

Hi,

@Braki

instead forloop you can use LINQ.

use below code to get sum of the column

Convert.ToString(BaseTotal.AsEnumerable().Sum(Function(row) row.Field(Of Double)(“Importes”)))

for each.xaml (39.4 KB)
use this xaml file @Braki
Regards,
Arivu