Template Creation
Document Management
Home Corporate Services FAQ Word Templates Training Nuclear Training Testimonials Contact Us

Creating a Document Management System in Word

Adding a New Button to Your Form

Once you have created your new template, place it in the desired templates folder that your code calls for then add a new button on your form to access the template. The steps for creating a new button are:

  1. Open the template file that contains the UserFormDMS.
  2. Press ALT+F11 to enter the VBE Window
  3. Open the "Forms" project up until you see the UserFormDMS form, then double-click on it
  4. Click the desired TAB that you are going to add a form button to.
  5. Select an existing form option button, press CTRL-C to copy it, then CTRL-V to paste it.
  6. Select the new button and move it to the desired location.
  7. Click inside the "Name" property and change the name to OptButtonx, where "x" is the next number in sequence of buttons. For example if you only have five buttons total on all TABs, then this button will be named ÓptButton6
  8. Change the "Caption" property to the exact same name as your new template file.
  9. Double-click the "OKAY" button to access the code.
  10. Change the "5" in the "For x = 1 to 5" to "6".
  11. Close the VBE window, save your template, and close it.

Your new form should now be ready to be accessed from your DMS System.

Return to Table of Contents

Continue to: Renaming an Existing Form

Download the White Paper (Opens PDF version of WhitePaper in new window)