Dear all,
My do-file imports sample data from an MS Excel spreadsheet, then prepares and analyzes the sample data, and finally exports the results to MS Excel by aid of the
command.
The respective analysis needs to be updated once a month and it would be great if this could be done right from within the Excel spreadsheet, i.e. without having to manually open Stata and then running the do-file there. Is it somehow possible to run a Stata do-file from within MS Excel (i.e. by aid of some VBA code)? Thanks a lot for your thoughts on this.
Best,
Ingo
My do-file imports sample data from an MS Excel spreadsheet, then prepares and analyzes the sample data, and finally exports the results to MS Excel by aid of the
Code:
putexcel
The respective analysis needs to be updated once a month and it would be great if this could be done right from within the Excel spreadsheet, i.e. without having to manually open Stata and then running the do-file there. Is it somehow possible to run a Stata do-file from within MS Excel (i.e. by aid of some VBA code)? Thanks a lot for your thoughts on this.
Best,
Ingo
Comment