Skip to main content
Make sure you enable the macros when opening the document. In Word 2000 also make sure that the macro security level is set to medium. (Check under Tools|Macro|Security).
  1. Copy the Sub InsertBarCodes() Routine to the clipboard by highlighting it and pressing Ctrl + C.
  2. In Microsoft Word, Open the Visual Basic Editor by pressing Alt + F11
  3. Insert a new Module, by clicking on Insert|Module
  4. Paste the code into the module
  5. Run the macro by going to the “Tools” menu, selecting “macro” and clicking on “Macros” and then double clicking on “InsertBarCodes” from the list.
Last modified on November 3, 2026