Hey guys I’m getting this error when trying to pass a value to a datatable:
Assign: Cannot create an L-value from the given expression with property ‘set_Item’ because the target object is null.
My Assign function looks like this:
vDataTable(vCount_Excel)(“A”) = vExtract_Building
In this case vDataTable is my datatable variable name. vCount_Excel is a counter and has a value of 1 on this iteration. vExtract_Building has a value of “” in this iteration, and all the columns in the data table accept Null.