|
Re: Run macro from command line
Hi,
Say if u want to open a run a Macro called "MacroName" from the CMD prompt then u can do the following. All the u need to do is to ADD a new function called "Auto_Open"
Private Sub Auto_Open()
MacroName
End Sub
Then enter on the command line:
c:\MyexcelSS.xls
This should execute the macro.
Regards
Kamath
|