SAMPLE: Visual Basic Mail Merge Through OLE Automation

Last reviewed: March 9, 1998
Article ID: Q119243
The information in this article applies to:
  • Professional Editions of Microsoft Visual Basic for Windows, version 3.0

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          : IAPOLE kbsample
Technology        : kbole
Version           : 3.0
Platform          : WINDOWS
Solution Type     : kbfile


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 9, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.