asdocx: Export from Stata to Word, Excel, LaTeX & HTML › Forums › asdocx Forum › Reg2 Template? › Reply To: Reg2 Template?
Hi Dr. Shah — thanks for this! I’m running into an error:
[code]
asdocx regress score i.asian, label template(reg2) replace save($Results/Regress.docx)
Error:
i.asian invalid name
r(198);
[/code]
So, I remove the factor notation and try this:
[code]asdocx regress score asian, label template(reg2) replace save($Results/Regress.docx)[/code]
A new error:
[code]variable previous_sheetname undeclared
variable sheets undeclared
masterclass_populator(): 3499 flexmat_to_excel() not found
r(3499);
[/code]
Interestingly, this is the same error I received on the new thread I posted a few minutes ago. Any ideas?