I simply add a sequence for excel automation, in which it will read excel file and then display data into message box. After executing the workflow it is successfully displaying the excel data into message box but my excel file get stuck and come up with this error:
check excel footers error object reference not set to an instance of an object
Thanks Rishabh,
Problem has solved. I just add “New System.Data.DataTable” as a default.
Can you please elaborate this how this problem has solved just adding this default variable value.
If you don’t initialize a variable it will take its default value, in case of value types like String, Integer it’ll work even if you do not assign in some initial value, but Arrays, DataTables, lists, dictionaries need to be given a initializaton value as default to avoid such error!