office

C

CLR

Tools > Macro > Macros > then select the macro of interest by name and
click RUN.....

Vaya con Dios,
Chuck, CABGx3
 
G

Gord Dibben

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 Auto_Open 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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top