Running Macros without opening excel

前端 未结 5 1263
礼貌的吻别
礼貌的吻别 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:52

    If I understand that right, you can simply write VBS code in a text file and rename it to .vbs (make sure file endings are visible in Windows). On doubleclick the file is executed by the Windows Scripting Host. VBS lacks some functionality of VBA but you can do a lot with CreateObject/GetObject.

提交回复
热议问题