ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   office (https://www.excelbanter.com/new-users-excel/87416-office.html)

duki

office
 
How to start excel macro directly from a cmd

CLR

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

Vaya con Dios,
Chuck, CABGx3


"duki" wrote in message
...
How to start excel macro directly from a cmd




Gord Dibben

office
 
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


On Mon, 8 May 2006 11:20:03 -0700, duki wrote:

How to start excel macro directly from a cmd


Gord Dibben MS Excel MVP


All times are GMT +1. The time now is 02:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com