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/