Finding Word Sample Macros
To access Words sample macros, follow these steps:
- Check that the appropriate sample macro template is
installed.
- Decide how frequently you will use the macros.
Using Macros Occasionally
If you plan to use the macros only occasionally,
its recommended that you add the macro templates as global templates.
To do this, follow these steps:
- On the Tools menu, select Templates and Add-Ins.
- Under Global Templates and Add-ins, click Add.
- In the Look in box, browse to the folder that contains the
macro template. In the Files of type box, select All Files.
- Select the sample macro template, and click OK.
- After the sample macro templates appear in the Templates
and Add-ins dialog box, select the check box for those you want to load, and click OK.
Tip: When you load a template or add-in,
it remains loaded for the current Word session only. When you exit and restart Word, the
template or add-in will not be reloaded automatically.
Using Macros Frequently
If you plan to use the macros frequently, move the
templates into the Startup Folder.
Microsoft Word automatically has access to any macros in
templates that are placed in the following folder:
C:\Program Files\Microsoft Office\Office\Startup
or
C:\Program Files\Microsoft Office\Templates\1033\
depending on how your system is setup.
Use Windows Explorer and copy the sample macro template
into this folder. When you restart Word, these become global templates, and the macros are
visible in the Macro dialog box.
How to copy Macros into the Normal Template
Follow these steps to copy the macros into the global
template, i.e. the Normal.dot template:
a. Open the sample macro template.
b. On the Tools menu, click Templates and Add-Ins >
Organizer > Macro Project Items tab.
c. The macros in the sample macro template are listed on
one side of the dialog box. Your global template (Normal.dot) appears open on the other
side.
d. Select the macros in sample macro template, and then
click Copy. Click OK to close the Organizer.
View the Sample Macro
To view the sample macros code, follow these steps:
a. On the File menu, click Open.
b. In the Open dialog box, browse to the folder that
contains the sample macro template, change the Files of type box to Document Templates,
and then click to select the appropriate sample macro template.
c. Hold SHIFT and then click Open.
d. On the Tools menu, point to Macro, and then click
Macros.
e. In the Macros dialog box, change Macros in to the
sample macro template.
f. Select the appropriate macro, and click Edit.
Batch Conversion Wizard.wiz
This wizard contains sample macros that allow you to
perform batch file conversion both to and from Word format.
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, follow these steps:
- On the File menu, click New.
- In the New dialog box, select the Other Documents tab.
- Click to select Batch Conversion Wizard, and then click
OK.
Macros9.dot
The Macros9.dot template contains the following sample
macros:
AutoCorrect Utility for backing up,
restoring, and moving AutoCorrect entries.
Automation Examples for demonstrating
automation between Word, Excel, and Access.
Find Symbol for finding
and replacing symbols
Font Sample Generator for generating a
sample document of all the printable fonts on your computer in 12 point.
Insert Footnote for creating footnotes
in the MLA or Chicago Manual of Style format.
Modify Address Layout for modifying the
layout of an address that you insert when you use the Personal Address Book or Outlook
Contacts List.
WordPerfect Data Formatter for
converting certain types of WordPerfect data files.
How to Install the Macros9.dot Template
To install the Macros9.dot template, follow these steps:
- Download the Word 2000 Supplemental Macros file from
Microsoft:
http://office.microsoft.com/downloads/2000/supmacros.aspx
- Download Macros.exe and follow the instructions in the
dialog boxes.
- Double-click Macros.exe to start the Setup program.
- Follow the instructions to complete the installation.
How to Use the Macros9.dot Template
To use this template, follow these steps:
- Open Microsoft Word 2000.
- On the File menu, select Open.
- Change Files of Type to Document Templates.
- Browse to where you installed Macros9.dot.
- Select Macros9.dot, and click Open.
- To run a macro, go to the Macros toolbar, click Sample
Macros, and select the macro that you want to run.
How to Use the Support9.dot Template
This template includes two macros:
Edit Conversion Options allows
you to customize unique settings for text converters and graphics filters.
Registry Options allows you to
modify Word settings stored in the Windows registry.
To Install Support9.dot
Follow these steps to install the Support9.dot template:
1. Close all Microsoft Office programs.
2. Click Start > Settings > Control Panel.
3. Double-click Add/Remove Programs.
4. On the Install/Uninstall tab, select Microsoft Office
2000 (or Microsoft Word 2000), and click Add/Remove.
Note: Insert CD1 of your Microsoft Office 2000 or
Microsoft Word 2000 CD-ROM set when Setup requests it.
5. In Maintenance Mode Setup, click Add or Remove
Features.
6. In the Update Features dialog box, expand Microsoft
Word for Windows.
7. Expand Wizards and Templates.
8. Click the down arrow for More Wizards and Templates,
and then click to select Run from My Computer.
9. Click Update Now.
How to Use Support9.dot
To run the Support9.dot template as an add-in, follow
these steps:
1. From the Tool menu, click Templates and Add-ins.
2. In the Templates and Add-ins dialog box, click Add.
3. In the Add Template dialog box, change the Look in box
to the following folder:
C:\Program Files\Microsoft Office\Office\Macros\
4. Select Support9.dot and click OK.
5. Click OK. A Macros toolbar appears.
Tip: If the Macros toolbar does not appear, go to View
> Toolbars > Macros.
6. On the Macros toolbar, click Sample Macros > Edit
Conversion Options macro.
Open the Support9.dot Template
1. On the File menu, click Open.
2. In the Open dialog box, change the Look in box to the
following folder:
C:\Program Files\Microsoft Office\Office\Macros\
3. Click to select Support9.dot, and then click Open.
To copy the Support9.dot sample macros to your Normal.dot
template:
a. On the Tools menu, point to Macro, and then click
Macros.
b. Click Organizer.
c. Open Support9.dot in the left pane and Normal.dot in
the right pane.
d. Select the Macro Project Items tab.
e. Use the Copy button to copy the Modules and Forms from
Support9.dot to Normal.dot, and then close the Organizer. Copy the following from
Support9.dot to your Normal.dot template:
CConverterTable
Common
EditCnvOptionsForm
EditOptCommon
RegOptions
RegOptionsForm
4. On the Macros toolbar, click Sample Macros, and then
click either Edit Conversion Options or Registry Options.
Registry Options
You can use the Registry Options macro to modify Word
settings that are stored in the Windows registry.
AutoSave-Path - sets the folder where
AutoRecovery save files are written to.
Bak-Extension - sets the default
extension for Word backup files.
BitMapMemory - sets the maximum size of
the Word bitmap cache. If you use many graphics in your documents, a larger bitmap cache
may improve screen redraw speed.
DateFormat - sets the default data
format for the DATEfield. This is used only for backward compatibility purposes. Word 2000
uses a different format.
DOC-Extension - the default extension
that is used for Word documents.
DOC-Path the default folder that
is used for Word documents, i.e. C:\My Documents.
DOT-Extension - the default extension
that is used for Word templates, i.e. *.dot.
Tools-Path - sets a location in which
Word searches for proofing tools, filters, converters, and certain other components.
Tip: You may need to restart Word for modifications to
take effect..
Your Thoughts?
What are your thoughts on this? Drop me a line at ivan
at klariti dot com |