How to merge each record of data source as separate documents in Word (840975)
The information in this article applies to:
- Microsoft Office Word 2003
- Microsoft Word 2002
- Microsoft Word 2000
- Microsoft Word 97 for Windows
INTRODUCTIONThis article lists two Microsoft Visual Basic for
Applications (VBA) macros that you can use to merge a data source from your
main document to your printer in Microsoft Word.
The
MergeAllRecordsToPrinter macro will merge all records in your data source to
your printer. Each record in your data source will print as a separate
document.
The MergeSelectedRecordsToPrinter macro lets you select the
records of your data source that you want to merge to your printer. Each record
in your data source that you choose to merge will print as a separate
document.REFERENCES For more information about how to create a macro in Word,
click Microsoft Word Help on the Help menu,
type create a macro in the Search for
box in the Assistance pane, and then click Start searching to
view the topic.
For more
information about how to run a macro in Word, click Microsoft Word
Help on the Help menu, type run a
macro in the Search for box in the Assistance
pane, and then click Start searching to view the topic.
Modification Type: | Major | Last Reviewed: | 3/23/2006 |
---|
Keywords: | kbhowto kbinfo KB840975 kbAudEndUser |
---|
|