I am using Stata 12. Since updating to Excel 2013, I suddenly can't import .xlsx
files into Stata any more. .xls
or .csv
still work fine. Has anyone else encountered this problem?
Note that Stata 12 was issued in 2011. The current version of Stata at the time of writing is 14.1. Expect that http://www.stata.com/support/faqs/resources/history-of-stata/ will be updated beyond the time of writing.
The help inside Stata 12 says this
import excel
andexport excel
look at the file extension,.xls
or.xlsx
, to determine which Excel format to read or write. For performance,import excel
imposes a size limit of 40 MB for Excel 2007/2010 (.xlsx
) files. Be warned that importing large.xlsx
files can severely affect your machine's performance.
Hence it seems that size may be an issue, but more crucially that Stata 12 does not purport to support Excel 2013 insofar as that may have changed the .xlsx
file format.
Disclaimer: I am fairly experienced with Stata, but emphatically no kind of Excel expert.
.xlsx
files. I don't bother too much, because, as noted by Nick, it's an old version. If possible, I just convert the.xlsx
to.xls
or.csv
, and it usually works fine after that. – Roberto Ferrer Feb 25 '16 at 12:54