I use manual item "Data to Excel Spreadsheet" from File---Export. The codes are:
Code:
export excel using "/Users/Documents/MedifyMD/Extracted.xlsx" if search2 > 0, sheet("boston+model") firstrow(variables)
But I don't wanna search2 variable to be shown up in my Extracted.xlsx file. Is there a way to do that? In R, I know I can use "-search2", but I don't know how to do in Stata.