Adding a feature in MS Word

Asked By 0 points N/A Posted on -

I want to add a function in MS Office. Currently I'm looking to develop in VBA. However, it seems that the execution of macros requires security disabled. This means that when I distribute the VBA program, others have to enable macros to run. (Security Issues) The problem now is how do I distribute the VBA I wrote ZB in an EXE And there is another way to go about creating this module?

Answered By 0 points N/A #188142

Adding a feature in MS Word


Dear Grover L Pyne

The simple answer of your question is via add ins. Add ins are used to distribute "Macros".

Add ins creation to distribute Macros:

Now follow the steps below to create and distribute add ins. Add ins are simply Excel workbook (we are taking here excel is an example) which are save with xla extension. To do this simply create a work book and save as and choose "xla" as extension. Once created,  workbook can only be viewed in "Project Explorer" via "Visual Basic Editor".

Add ins Distribution:

After following the procedure below other users can easily open / install your add ins .

  1. User should save a copy to C/windows/Application Data/Mircorsoft/AddIns
  2. Open the new work book
  3. Go to tools then add ins then click browse and select the desired file and click ok.
  4. Now make sure that add ins is available and its box is checked.
  5. Now click ok and Add ins will be installed and ready to use.




Login/Register to Answer

Related Questions