Macros cannot be invoked from the command line.
You can, however, add Workbook_Open code in the ThisWorkbook module which will
run a macro when the workbook is opened via the command line.
Or Aut

pen code in a general module.
Assuming that users enable macros.
Gord Dibben MS Excel MVP
How to start excel macro directly from a cmd
Gord Dibben MS Excel MVP