I am trying to add a note below a table and save that as an Excel file, like:
sysuse auto , clearasdocx tabulate rep78 foreign, row font(Calibri) title(Some statistics) /// save(Auto_rep78_vs_foreign_$date.xlsx) replaceasdocx , text(On the second row percentages are reported.) append fs(10)
* But I get an error after the second call to asdocx: asdocx , text(On the second row percentages are reported.) append fs(10)
, is not a valid command name
Maybe you can explain what I am doing wrong here (I tried to follow the instructions in the help file).