Hello,
I would like to show the `y' variable in excel when running each of the following regressions using "esttab" syntax. In other words, I would like to show in excel which y variable that was used in order to divide the sample for each regression (I have over 50 y variables).

Code:
foreach y of varlist H_* {
eststo: quietly reg `ylist' `xlist'* if `y'==1, vce(cluster firm)
}
Code:
esttab using AAA, csv label wide onecell numbers scalars (F) replace
Thank you very much.