WD97: How to Access Sample Macros for Word 97Last reviewed: December 19, 1997Article ID: Q162490 |
The information in this article applies to:
SUMMARYWord 97 for Windows includes 3 templates that contain sample macros that are not immediately available after you install Word. After running a Complete installation of Word 97 for Windows, the following files are copied to a Macros folder in the default directory, C:\Program Files\Microsoft Office\Office\Macros:
Convert8.WIZ Macros8.DOT Support8.DOTThis article discusses information about these templates and macros as well as how to access these macros.
MORE INFORMATIONTo access the Word sample macros, follow these steps:
Method 1: If You Will Be Using the Macros OccasionallyIf you will be using 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. 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. To add one of the files listed in the "Summary" section as a global template, follow these steps:
Method 2: If You Will Be Using the Macros OftenOption 1: Move the Templates into the Startup Folder: Word will automatically have access to any macros in templates that are placed in the Microsoft Office\Office\Startup folder. Using Windows Explorer, place copies of the Convert8.wiz, Macros8.dot, or Support8.dot files into the Startup folder. When you restart Word, these templates will be global templates and the macros will be visible in the Macro dialog box. Note that a disadvantage to this method is that Word will take a bit longer to start (each time it starts, it will load these templates globally). Option 2: Copy the Macros into the Normal Template: Follow these steps to copy the macros into the Normal template (Normal.dot):
Macro Explanation and Notes ----------------------------------------------------------------------- AutoNew.Main When opening a new document based on Convert8.WIZ, it will present a dialog box and ask if you want to perform a batch conversion of files. Selecting this will start the macro StartConversionWizard. It will also ask if you want to Edit converter or filter options. Selecting this option will start the macro EditConversionOptions. AutoOpen.Options This macro runs when you open the Convert8.WIZ file and will ask the same questions as listed in the explanation and notes to the AutoNew.Main macro. EditConversionOptions This macro allows you to set text and graphic converter filter options from within Word. StartConversionWizard This macro allows you to convert multiple files of the same file format at the same time.The Macros8.DOT template contains the following useful macros you can use in your general work with Word for Windows. When this template is loaded, a Sample Macro toolbar will appear. These macros are designed to be run using the Sample Macro toolbar. It will list the following macros:
ANSI Value AutoCorrectUtility FindSymbol InsertFootnote TableCellHelper SuperDocStatistics NormalViewHeaderFooter CopySpike Add Selection to Spike Insert Spike Contents Clear Spike Contents Preview SpikeWhat you will see if you click on Tools, point to Macro, and click on Macros are the following listed macros:
Macro Explanation and Notes --------------------------------------------------------------------- AddSelectionToSpike Component of CopySpike (found on the Sample macro toolbar). AddToStd ANSIValue Displays the ANSI value of the selected character. AutoCorrectUtil Creates a backup copy of all AutoCorrect entries. ClearSpikeEnties Component of CopySpike. FindSymbol Finds and replaces symbol characters. InsertFootnote Inserts footnotes formatted for the Chicago Manual of style or MLA specifications. InsertSpikeContents Component of CopySpike. NormalViewHeaderFooter View a document Header/Footer pane while in Normal view. previewspike Component of CopySpike. SuperDocStatistics Displays formatting and section information for the current document. SuperDocStatStart Component of the SuperDocStatistics TableCellHelper Displays the row and column reference in the current table cell.The Support8.DOT template contains the following useful macros for setting printer driver options and for changing registry settings for Word for Windows:
Macro Explanation and Notes -------------------------------------------------------------------- PrintFlags Set advanced printer flags RegOptions Lets you modify registration settings that effect Word. |
Additional query words: word8 word97 8.0 vb vba vbe shipped included
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |