Error in excel objectnull

your data table variable returning null value just check the variable you called correct or not also check the file path of read range if you used .

Hi @Kuldeep_Pandey

Check the Dt value in For each row in DataTable.


Hello @Kuldeep_Pandey , The error occurs because DT not assigned properly of null value in string passes to DT. Kindly check your string value before pass to the dt using message box.

Gokul Jai