I am using Stata 14.1/IC with Windows on a remote desktop system so apologies for not pasting in my full code (high disclosure risks with data I am using).
In my do-file I use - #delimit ; - and for some reason when I click the "execute (do)" button some times the do-file runs great, but some times it snags right after - #delimit ; -. Sometimes the error it gives me is:
but other times it is this:
The code before and after #delimit ; and #delimit cr is related to putexcel, hopefully that provides enough context for me to get some help. I am just not sure what the error is. Anyone have ideas?
Thank you.
In my do-file I use - #delimit ; - and for some reason when I click the "execute (do)" button some times the do-file runs great, but some times it snags right after - #delimit ; -. Sometimes the error it gives me is:
Code:
invalid 'sheet' r(198);
Code:
invalid 'r ' r(198);
Thank you.