SAMPLE: Visual Basic Mail Merge Through OLE Automation

ID: Q119243

The information in this article applies to:

SUMMARY

There are two sample programs available that show you how to perform a mail merge in Visual Basic using OLE automation with Microsoft Word for Windows version 6.0.

MORE INFORMATION

The first sample is the Invoice.mak project, available on the Microsoft Office Developer Kit (ODK) version 1.0. A description of this project can be found in the following Microsoft Knowledge Base article:

   ARTICLE-ID: Q118817
   TITLE     : INF: Summary of Sample Applications on the ODK

For more information on the invoice sample, please see the ODK documentation.

Mailmerg.exe is a self-extracting compressed file that contains a sample project demonstrating how to perform a mail merge using OLE Automation.

The following file is available for download from the Microsoft Software Library:

 ~ Mailmerg.exe (size: 27539 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from
               Online Services
Keywords          : kbfile kbole kbsample kbVBp300 
Version           : 3.0
Platform          : WINDOWS

Last Reviewed: January 6, 1999