I don't know how to call Stata from Excel but it is possible to start
Stata from other applications in Windows with the help of a scripting
language. One example can be found at this link:
http://fmwww.bc.edu/repec/bocode/t/textEditors.html#autoit
The document describes a method for integrating an external text
editor with Stata. This is done with an open source scripting
language called AutoIt that can be downloaded here:
http://www.autoitscript.com/autoit3/
The latest version of AutoIt, 3.1.0, was released in February. One of
the new features is an option to create Graphical User Interfaces
(GUIs) to interact with a user.
Friedrich
--- Phil Schumm <[email protected]> wrote:
> At 09:18 AM -0500 3/9/05, Stephen Graham wrote:
> >SAS introduced SAS Integration Technologies a few years ago, and I
> >have had success in creating excel application that can "talk" to
> >SAS in an appreciable way. I like the fact I can create a very
> >simple front-end (excel) to complicated programs. This gives the
> >user a front-end that is easily recognizable and common.
> >
> >Being that I worked for a STATA owner for almost 5 years (Hi, to
> >all WC people who are reading) I am an extreme advocate for STATA.
> >Is there a way of doing a similar thing with STATA? I would love
> >to bring STATA's superior everything to the table.
>
> [snip] ... there certainly are
> legitimate reasons to want to interact with Stata from other
> applications (e.g., integration with a text editor, driving Stata
> from a cgi script, etc.). And currently it *is* possible to launch
> Stata and to pass it a do-file for processing. This can be done
> directly from the shell in Unix/Linux/OS X and also via Apple
> Events in OS X (and I believe in Windows too -- I just don't know
> how).
__________________________________
Celebrate Yahoo!'s 10th Birthday!
Yahoo! Netrospective: 100 Moments of the Web
http://birthday.yahoo.com/netrospective/
*
* 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/