I have this simple line of code to setup my excel worksheet but I get the following error when I try to run it:
putexcel_set_new(): 3010 attempt to dereference NULL pointer
<istmt>: - function returned error


Code:
putexcel set "Data collection tracked", replace open
It was working at first but then, without changing the line, I started to get this error. I appreciate any insight anyone has on how to resolve this.

Thank you,
-Daniel