WD2000: How to Access Sample Macros for Word 2000

ID: Q237356


The information in this article applies to:
  • Microsoft Word 2000


SUMMARY

Microsoft Word 2000 includes three templates that contain sample macros that may not be immediately available after you install Word.

  • Batch Conversion Wizard.wiz


  • Macros9.dot


  • Support9.dot


This article discusses these templates and macros and explains how to access these macros.


MORE INFORMATION

Microsoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Solution Provider or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Solution Providers, please see the following page on the World Wide Web:

http://www.microsoft.com/mcsp/
For more information about the support options available from Microsoft, please see the following page on the World Wide Web:

http://www.microsoft.com/support/supportnet/overview/overview.asp
To access the Word sample macros, follow these steps:
  1. Make sure the appropriate sample macro template is installed. For more information about each sample macro template, please see the appropriate macro template section in this article.


  2. Decide how often you plan to use the macros. If you intend to use the macros only occasionally, or if you want to see what the macros do before you decide whether you want to make them easily accessible, use Method 1. If you plan to use the macros often, use either of the options discussed in Method 2. If you want to view the sample macro, use Method 3.


  3. Method 1: For Occasional Use of Macros

    If you plan to use the macros occasionally (or if you want to see what they do before you decide to make them easily accessible), add the macro templates as global templates.

    To add one of the files listed in the "Summary" section as a global template, follow these steps:
    1. On the Tools menu, click Templates and Add-Ins.


    2. Under Global Templates and Add-ins, click b.


    3. In the Look in box, change to the folder containing the sample macro template, and in the Files of type box, select All Files (*.*).


    4. Select the sample macro template, and then click OK.


    5. Repeat steps c-d for each of the sample macro templates that you want to use.


    6. After the sample macro templates appear in the Templates and Add-ins dialog box, make sure you place a check mark in the check box for the ones you want to load, and then click OK.


    NOTE: When you load a template or add-in, it remains loaded for the current Word session. If you quit and then restart Word, the template or add-in is not automatically reloaded.

    Method 2: For Frequent Use of Macros

    Option 1: Move the Templates into the Startup Folder:

    Word automatically has access to any macros in templates that are placed in the following folder:
    C:\Program Files\Microsoft Office\Office\Startup
    Use Windows Explorer and place a copy of the sample macro template into the Startup folder.

    When you restart Word, these templates are global templates and the macros are visible in the Macro dialog box. A disadvantage to this method is that Word takes a bit longer to start (each time it starts, it loads these templates globally).

    Option 2: Copy the Macros into the Normal Template:

    Follow these steps to copy the macros into your global template (Normal.dot):
    1. Open the sample macro template.


    2. On the Tools menu, click Templates and Add-Ins, click Organizer, and then select the Macro Project Items tab.


    3. The macros in the sample macro template appear listed on one side of the dialog box. Your global template (Normal.dot) appears open on the other side.


    4. Select the macros in sample macro template, and then click Copy. Click OK to close the Organizer.


    5. Repeat steps a-d for each of the sample macro templates that you want to add macros from.


    Method 3: View the Sample Macro

    To view the macro code for a sample macro, use the following steps:
    1. On the File menu, click Open.


    2. In the Open dialog box, change the Look in box to the folder containing the sample macro template, change the Files of type box to All Files (*.*), and then click to select the appropriate sample macro template.


    3. Hold SHIFT and then click Open.


    4. On the Tools menu, point to Macro and then click Macros.


    5. In the Macros dialog box, change the Macros in to the sample macro template.


    6. Select the appropriate macro and click Edit.


Batch Conversion Wizard.wiz

The Batch Conversion Wizard template is a template that contains sample macros to perform a batch conversion of selected files to or from Word format and is installed on first use by default. The Batch Conversion Wizard is installed to the following folder by default:
C:\Program Files\Microsoft Office\Templates\1033
To run the Batch Conversion Wizard, do the following steps:
  1. On the File menu, click New.


  2. In the New dialog box, click to select the Other Documents tab.


  3. Click to select Batch Conversion Wizard and click OK.


For more information about the Batch Conversion Wizard, click Microsoft Word Help on the Help menu, type Batch Conversion Wizard in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.

Macros9.dot

The Macros9.dot template is a template that contains sample macros created by Microsoft Technical Support and includes the following sample macros:

   Macro                          Description
   ---------------------------------------------------------------------

   AutoCorrect Utility            Allows you to back up, restore, and move
                                  AutoCorrect entries.

   Automation Examples            Simple macro examples demonstrating
                                  automation between Word, Excel, and
                                  Access.

   Find Symbol                    Allows you to find and replace symbols
                                  in your documents.

   Font Sample Generator          Generates a sample document of all the
                                  printable fonts on your system in 12
                                  point.

   Insert Footnote                A wizard interface that helps you
                                  create footnotes in the MLA or Chicago
                                  Manual of Style format.

   Modify Address Layout          Modifies the layout of an address that
                                  you insert when you use the Personal
                                  Address Book, Schedule+, or Outlook
                                  Contacts List.

   Save Reminder Install          Installs into your Word Startup folder
                                  a template containing a macro that
                                  periodically reminds you to save your
                                  work.

   WordPerfect Data Formatter     Converts certain types of non-standard
                                  WordPerfect data files and labels into
                                  a format that can be used as a mail
                                  merge data file. 
The Macros9.dot template is installed to the following folder by default:
C:\Program Files\Microsoft Office\Office\Samples\
For additional information about the sample macros contained in the Macros9.dot template, please see the following article in the Microsoft Knowledge Base:
Q234554 WD2000: Supplemental Macros (Macros9.dot) Available for Download

Support9.dot

The Support9.dot template contains sample macros created by Microsoft Technical Support and includes the following sample macros:


   Macro                      Description
   ----------------------------------------------------------------------

   Edit Conversion Options    Allows you to customize unique settings for
                              text converters and graphics filters.

   Registry Options           Can be used to modify Word settings that are
                              stored in the Windows registry. 
The Support9.dot template is installed to the following folder by default:
C:\Program Files\Microsoft Office\Office\Macros
For additional information about the sample macros contained in the Support9.dot template, please see the following article in the Microsoft Knowledge Base:
Q230121 WD2000: What's Contained in Support9.dot and How to Install It

Additional query words: convert

Keywords : kbdta wd2000
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: July 19, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.