Thank you. Indeed, I solved the issue with a "dirty trick": after I've populated the DataTable, I check the last row and erase it if it's blank (I do not need to check them all, because the excel files they give me never have blank lines in between, apart from the last one - and that was actually causing the problem amongst my program's users) Thanks again! Rey9999
~~~ From Milano to The Hague, easy as it goes ~~~