Hello
I am trying to run the following code in Stata but getting the error of invalid file specification.
Thanks
clear
foreach var in 1906 1907 1908 {
cd "C:\Users\ramzan\Downloads\Compressed\air_temp_201 4"
import delimited C:\Users\ramzan\Downloads\Compressed\air_temp_2014 \air_temp.`var'
export excel using air_temp.`var'.xlsx, replace
save
}
I am trying to run the following code in Stata but getting the error of invalid file specification.
Thanks
clear
foreach var in 1906 1907 1908 {
cd "C:\Users\ramzan\Downloads\Compressed\air_temp_201 4"
import delimited C:\Users\ramzan\Downloads\Compressed\air_temp_2014 \air_temp.`var'
export excel using air_temp.`var'.xlsx, replace
save
}

Comment