开发者

VBScript to exe

开发者 https://www.devze.com 2023-03-03 00:20 出处:网络
I have written a code to create a new menu in MS Word and do some functions. I have written VBScript code in the scripting window which opens when i do Alt+F11.

I have written a code to create a new menu in MS Word and do some functions. I have written VBScript code in the scripting window which opens when i do Alt+F11.

I cannot send the code to the 开发者_开发百科customer and have to bundle it in an exe file or some other file and send it to user.

How do i do that.

If i create an exe file when the user runs it the menu button should be cretaed in MS Word on users machine.

Thanks Creator


The simplest options are:

  1. Add the VBA to the normal template and you can make it run when Word loads to add your menu items.
  2. Create an add-in from the macro project (These can be read only/password protected)
  3. Create a managed/VSTO add-in
0

精彩评论

暂无评论...
验证码 换一张
取 消