Dear all,
When I try to export a table to excel after running a tabulation on variable distance_bin, I get the error below. I was following the instructions on https://blog.stata.com/2013/09/25/ex...bles-to-excel/. I can't seem to figure it out and would greatly appreciate any help!
Command:
. tab2xl distance_bin using test1, row(1) col(1)
Note: file will be modified when putexcel close command is issued
Error Message:
putexcel_set_new(): 3010 attempt to dereference NULL pointer
<istmt>: - function returned error
r(3010);
Below is a snapshot of my data, as well as the tab results:
When I try to export a table to excel after running a tabulation on variable distance_bin, I get the error below. I was following the instructions on https://blog.stata.com/2013/09/25/ex...bles-to-excel/. I can't seem to figure it out and would greatly appreciate any help!
Command:
. tab2xl distance_bin using test1, row(1) col(1)
Note: file will be modified when putexcel close command is issued
Error Message:
putexcel_set_new(): 3010 attempt to dereference NULL pointer
<istmt>: - function returned error
r(3010);
Below is a snapshot of my data, as well as the tab results:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input str5 cmacode str6 postalcode int category str6 focal byte distance_bin float(numpostals big late) "24462" "H0A1B0" 1 "H0A1B0" 0 1 0 0 "24462" "H0A1E0" 2 "H0A1E0" 0 1 0 0 "24462" "H0A1G0" 3 "H0A1G0" 0 1 0 0 "24462" "H0A2G0" 4 "H0A2G0" 0 1 0 0 "24462" "H1A3C7" 1667 "H1A0A3" 6 2 0 0 "24462" "H1A2W2" 1244 "H1A0A6" 4 2 0 0 "24462" "H1A5C6" 1632 "H1A0B4" 5 4 0 0 "24462" "H1A3P7" 175 "H1A0B5" 5 2 0 0 "24462" "H1A1A1" 5 "H1A1A1" 0 1 0 0 "24462" "H1A3C4" 1535 "H1A1A4" 5 9 0 0 "24462" "H1A3B2" 1085 "H1A1A7" 6 9 0 0 "24462" "H1A3X8" 182 "H1A1A8" 5 5 0 0 "24462" "H1A3M3" 1301 "H1A1B1" 6 6 0 0 "24462" "H1A3W2" 1722 "H1A1B9" 4 3 0 0 "24462" "H1A1C8" 1748 "H1A1C8" 0 1 0 1 "24462" "H1A1E3" 1659 "H1A1E3" 0 1 0 1 "24462" "H1A5A7" 176 "H1A1E4" 5 5 0 0 "24462" "H1A2S8" 1529 "H1A1H2" 5 6 0 0 "24462" "H1A2R5" 1140 "H1A1H5" 6 8 0 0 "24462" "H1A1J9" 1660 "H1A1J7" 5 7 0 0 end