1. Open Word Options from the Office icon (Word 2007) or the File
menu (Word 2010/2013).
2. For Word 2007 ensure that the checkbox labelled Show Developer tab in the Ribbon is checked. For Word 2010/2013 select the Customise Ribbon item and ensure that the Developer checkbox is checked.
3. Open bmacs2007.docm and using the Options button alongside the security warning (if prompted) ensure that "Allow this content" is selected. For Word 2010/2013 just push the button labelled “Enable content”
4. On the Developer tab, in the Code group, click Visual Basic. This starts the Project explorer.
3. To make the barcode macros available to any new documents, expand the Project(Bmac2007) item and while holding down the control key drag the module Barmacs (or Module1 for the 64 bit version) and drop it on the Normal project at the top of the list – or any other template you wish to use.
4. If you prefer not to make the macros available for all new documents then open a new blank document, and while holding down the control key drag the Barmacs module to that project in the project list.
From the File menu choose Close and return to Word.
From the Office button choose Save As, and from the drop-down list of file types select Word Macro-Enabled Document (*.docm), and save the new document with a suitable name. If you prefer you can save as a Word Macro-Enabled Template.
5. Close the target template/document then close the bmacs2007 document.
The barcode macros are now ready for use in any document you create based on this template. Selecting the Macros icon on the Developer Ribbon will show that the four macros are present.
Note: To help prevent potentially dangerous code from running, we recommend that you return to any of the settings that disable all macros after you finish working with macros.