I am currently suffering from saving file name as local value
The code I have used is as following
Code:
levelsof listid , local(levels) local vlname: value label listid local vl: label `vlname' 1007 display "`vl'" levelsof listid2 , local(levels) local vlname2: value label listid2 local vl2: label `vlname2' 1007 display "`vl2'" save `v12'_`v1'_1007, replace export excel using `v12'_`v1'_1007, firstrow(varlabels) replace
file __1007.xls saved
I wish to save names as
abc_def_1007.xls
Your help will be appreciated.
0 Response to Saving file name as local value
Post a Comment