Running Macros without opening excel

前端 未结 5 1258
礼貌的吻别
礼貌的吻别 2020-12-17 07:05

I wonder how would you assign VBA codes written on Excel VBA to a sort of procedure/programme or maybe dos related filepath, which you can directly without opening excel. In

5条回答
  •  温柔的废话
    2020-12-17 07:37

    write a cmd or ps1 that opens an excel and in that excel's startup run your macro... and then when finished close it.

    this can be a solution but you are probably doing something which is unnecessary in correct planned environments.

提交回复
热议问题