The information in this article applies to:
- Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b,
and 2.0c
The "Using WordBasic" book by WexTech Systems and Microsoft includes a
disk labeled "Sample Macros for Using WordBasic." The disk contains a
single template, USINGWB.DOT, with a sample WordBasic macro called
Macro Manager. This macro allows you to copy a macro or group of
macros from one template to another.
To use the Macro Manager, follow these steps:
- Copy the USINGWB.DOT file from the Sample Macros for Using
WordBasic disk to your hard disk.
- Open the USINGWB.DOT in Word for Windows.
- Move to the end of the document by pressing CTRL+END and double
clicking the Double-click Here To Run The MacroManager Macro
button.
To copy every macro from a source template to a destination template,
follow these steps:
- Run the MacroManager macro.
- Select a template name from the source and destination template
boxes.
- Choose the Copy All button.
To copy a single macro from a source template to a destination
template, follow these steps:
- Run the MacroManager macro.
- Select a template name from the source and destination template
boxes.
- To see a list of the macros stored in each template, choose the
Update List button.
- Select a macro in the source template to copy.
- Choose the Copy button.
The Execute Only check box allows you make the resulting copies run
only in the destination template. Select the Execute Only check box
before choosing the Copy or Copy All buttons. Execute-only macros are
listed in the Macros dialog box, but cannot be edited (the Edit button
is unavailable (dimmed) if the selected macro is execute only).
REFERENCES
"Using WordBasic," by WexTech Systems and Microsoft, Appendix A.
"Microsoft Word for Windows User's Guide," version 2.0, pages 768-769
|