Statalist The Stata Listserver

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

st: RE: Using "outsheet" and foreach again

From   "Marino, Jennifer" <[email protected]>
To   <[email protected]>
Subject   st: RE: Using "outsheet" and foreach again
Date   Wed, 19 Apr 2006 12:37:46 -0700

Juanita -

I think you're iterating too many times. Try this:

foreach file in oilgs chmcl bresr indgs fdbev perhh hlthc rtail media
trles telcm utils banks insur finsv {
use `file', clear
outsheet using bra`file'.xls , replace


*   For searches and help try:

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