Hi I am using these commands to import the excel files and save them into stata.

but I am getting the error can anyone please help me to correct the issue.


local mylist 03 04 05 06 07 08 09 10 11 12

foreach x of local mylist {

import excel "E:\Health and air quality\December\Extract123\ZS_2000_"`i'".xls", sheet("ZS_2000_"`i'"") firstrow
keep DHSCLUST ZonalSt_sh
save "E:\Health and air quality\December\Extract123\ZS_2000_"`i'".dta", replace


}