Statalist The Stata Listserver


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

Re: st: Exporting Stata output to Excel: new version of -xml_tab- isavailable from SSC


From   Roger Harbord <[email protected]>
To   [email protected]
Subject   Re: st: Exporting Stata output to Excel: new version of -xml_tab- isavailable from SSC
Date   Fri, 13 Oct 2006 10:32:47 +0100

Doesn't work for me either in Excel 2000. Checking MS website, it appears xml support was introduced in Excel 2002 <http://support.microsoft.com/kb/288215/>

Zurab, i think you should add this to the "Requires" bit of the Description on SSC and perhaps also the help file.

Roger.

--On 13 October 2006 09:22 +0100 Dominic Muston <[email protected]> wrote:


Fantastic Zurab!

You say the routine is "structured to work with MS Excel". Could you
explain a bit more about this? When I tried to open an XML file
created by xml_tab, my Excel just thought it was another text file.

This is what I did in Stata (using code from your help file):
sysuse auto.dta
regress price mpg headroom trunk if foreign==0
estimates store reg1
regress price mpg headroom trunk if foreign==1
estimates store reg2
xml_tab reg1 reg2, stats(r2_a) title("price regressions by car type")

I'm running MS Excel 2000 (9.0.8948 SP-3) on a Windows PC machine.

How do I open the XML file in my Excel retaining the formatting you've
been so careful to set-up? Apologies if this is something really
obvious.

Dom
*
*   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