Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: reading in multiple worksheet excel data


From   Sachin Chintawar <[email protected]>
To   [email protected]
Subject   st: RE: RE: reading in multiple worksheet excel data
Date   Thu, 3 Jul 2008 18:17:01 -0500

Hi
Has anyone ever tried importing files from .xlsx files. I tried using
insheet but unfortunately it does not recognize the file extension.
Considering that the file is very large it does not allow me to open in a
Excel 2003 format. Also if I save my file in a text document that I am
unable to import the variables that tend to be in more than one row. 
Any ideas would be greatly appreciated
Thanks
Sachin 

Sachin Chintawar
Research Assistant
Dept. of Agricultural Economics
Louisiana State University

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Wallace, John
Sent: Thursday, July 03, 2008 2:27 PM
To: [email protected]
Subject: st: RE: reading in multiple worksheet excel data 

I would think the easiest thing to do would be to make an Excel macro
that pages through the sheets and exports the active one to a text file.
You could then switch to Stata and have a do-file read them in using
insheet.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Murali
Kuchibhotla
Sent: Thursday, July 03, 2008 11:19 AM
To: [email protected]
Subject: st: reading in multiple worksheet excel data 


 Hello All,
           I often work with excel files comprising of multiple
worksheets. Is 
there a simple way to read into Stata a single sheet from such a file
(something that mimics the insheet command for single sheet excel
files)?

Sincerely,
Murali Kuchibhotla 


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
------------------------------------------------------------

This transmission is intended for the sole use of the individual
and entity to whom it is addressed, and may contain information
that is privileged, confidential and exempt from disclosure under
applicable law. You are hereby notified that any use,
dissemination, distribution or duplication of this transmission by
someone other than the intended addressee or its designated agent
is strictly prohibited. If you have received this transmission in
error, please notify the sender immediately by reply to this
transmission and delete it from your computer.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index