Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: excel import issue

From   Gabi Huiber <>
Subject   Re: st: excel import issue
Date   Fri, 4 Nov 2011 16:56:26 -0400

I am having the exact same problem with the latest Stata 12. I get the
r(603) error both on a 64-bit Win 7 machine and on a Mac OS X Lion. I
am trying to open .xls (Excel 97-2003) files. On the Mac, they all
have the permissions set to 777. On the PC, I am running Stata as an

The files open fine with Office 2010, and as far as I can tell there's
no strange formatting present in the cell range of interest to me. If
anybody has advice, I'm next in line after Dimitriy.

Thank you,

On Tue, Nov 1, 2011 at 3:23 PM, Dimitriy V. Masterov <> wrote:
> I am using Stata 12 MP on a 64-bit Windows 7 machine. Current update
> level is 13 Oct 2011.  I've been trying to load a series of Excel
> files, but I am running into a problem I can't figure out. For
> example:
> import excel using "Top 30 Market Data with TUSA EBITDA 10-25-11.xlsx", sheet("
> > summary") allstring firstrow cellrange(A4:AI35) clear;
> file Top 30 Market Data with TUSA EBITDA 10-25-11.xlsx could not be loaded
> r(603);
> Doing this through the dialog menu gives "Mandatory Element Missing"
> error when I try to specify the Excel file to use.
> Taking the spaces and hyphens out of the file name does not fix
> things. There's some stupid formatting, but the cell range I am trying
> to import appears to be free from it.
> Does anyone have any idea how to hack this one?
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index