For each row : Object reference not set to an instance of an object

studio

#1

Hello,

I’m looping through directories,
opening xlsx file in each directory, do the sum of a column save it in a datatable
but got an error

For each row : Object reference not set to an instance of an object.


#2

Hi,

your read range output is ‘datatableBUS’ datatable, but you are using a different table in the loop.