Automatic Macro in Excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I call Excel from a batch file:
"C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft\Microsoft Excel.lnk" "C:\Program Files\Corda50V2\chart_root\examples\data\homeTest_1_27_2004_run9.csv"
After it opens the file I want to designate a recorded macro to execute automatically (no clicking by me).
How do I do it?

Regards, MMM.
 
I suggest you point your batch file to open the workbook which contains
a macro in the On_Open event. Put the .csv open code into this macro
too.
 
Back
Top