Statalist The Stata Listserver


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

st: Re: Insheeting Excel file with multiple worksheets


From   kturner@stata.com (Kevin Turner)
To   statalist@hsphsun2.harvard.edu
Subject   st: Re: Insheeting Excel file with multiple worksheets
Date   Wed, 16 Aug 2006 15:39:21 -0500

Ms. Marilyn Ibarra (ibarra@uga.edu) writes:

> I have data in an excel file with multiple worksheets.  Does anyone know 
> how to insheet the data into STATA without having to create separate excel 
> files for each worksheet??

If you are willing/can save your Excel file in the MS XML format, you can use
Stata's -xmluse- command to import a single sheet. However, having to resave
the data via Excel might negate any benefit. (see -help xmluse- for examples)

--Kevin 
kturner@stata.com
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index