I want to export different results to different sheets of one excel file rather than to create different excel files
My code to export results to different excel files is as below
Code:
clear *coding...; esttab m1 m2 m3 m4 using "H:\18th_June_fixed\22nd_July\result.file1.csv",star(* 0.1 ** 0.05 *** 0.01) ar2 title(" **RD**" ) keep(covariates) clear *coding...; esttab m1 m2 m3 m4 using "H:\18th_June_fixed\22nd_July\result.file2.csv",star(* 0.1 ** 0.05 *** 0.01) ar2 title(" **ID**" ) keep(covariates)
What I want is to export these two files to one file. For example, the result 1 will be in sheet 1 of file result, the result 2 will be in sheet 2 of this file result.
Thanks in advance.
0 Response to How to export result to different excel sheets in an excel files?
Post a Comment