View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Czech Czech is offline
external usenet poster
 
Posts: 1
Default Running a macro from the command line

How do you use the command line to run a specific macro on a specific xls
file?

In Word, I use this syntax:

winword FileName /mMacroName

But doing this in Excel opens Excel but does not run the macro:

excel FileName /mMacroName

--
Karel