Hi Statalist,
I've already run the cd command in my file and I know the import is referencing the correct location and filename. What's curiously happening is the third forwardslash is consistently replaced by Stata with a backslash, which stops the run and thus stops my progress.
. import excel using "/2013/01/2233_20130101_ALL.xls", sh ("REHUAllResults.rpt") firstrow
file /2013/01\2233_20130101_ALL.xls not found
As you can see, when I run the import line the response I get shows the third forward slash replaced with a backslash. Can anyone explain to me why this is happening and what I can do to resolve it?
I've already run the cd command in my file and I know the import is referencing the correct location and filename. What's curiously happening is the third forwardslash is consistently replaced by Stata with a backslash, which stops the run and thus stops my progress.
. import excel using "/2013/01/2233_20130101_ALL.xls", sh ("REHUAllResults.rpt") firstrow
file /2013/01\2233_20130101_ALL.xls not found
As you can see, when I run the import line the response I get shows the third forward slash replaced with a backslash. Can anyone explain to me why this is happening and what I can do to resolve it?
Comment