Hello! I am trying to figure out how to export results from xttrans command to an Excel file. My command is

bysort var1: xttrans var2, freq

var1 has 3 different categories, so xttrans generates 3 different tables, one for each categorie. Is it possible to export each table into an Excel file, each of these tables in a different sheet with different names?

Thank you in advance.

I have posted the same question in https://stats.stackexchange.com/ques...table-in-stata

Thank you.