VBScript to exe
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:
- Add the VBA to the normal template and you can make it run when Word loads to add your menu items.
- Create an add-in from the macro project (These can be read only/password protected)
- Create a managed/VSTO add-in
精彩评论