Save subset of variables in memory to an Excel file
export excel [varlist] using filename [if] [in] [, export_excel_options]
import_excel_options Description
-------------------------------------------------------------------------------------------------------------
sheet("sheetname") Excel worksheet to load
cellrange([start][:end]) Excel cell range to load
firstrow treat first row of Excel data as variable names
case(preserve|lower|upper) preserve the case (the default) or read variable names as lowercase or
uppercase when using firstrow
allstring import all Excel data as strings
clear replace data in memory
locale("locale") specify the locale used by the workbook
-------------------------------------------------------------------------------------------------------------
locale() does not appear in the dialog box.
export_excel_options Description
-------------------------------------------------------------------------------------------------------------
Main
sheet("sheetname") save to Excel worksheet
cell(start) start (upper-left) cell in Excel to begin saving to
sheetmodify modify Excel worksheet
sheetreplace replace Excel worksheet
firstrow(variables|varlabels) save variable names or variable labels to first row
nolabel export values instead of value labels
replace overwrite Excel file
Advanced
datestring("datetime_format") save dates as strings with a datetime_format
missing("repval") save missing values as repval
locale("locale") specify the locale used by the workbook
-------------------------------------------------------------------------------------------------------------
locale() does not appear in the dialog box.