Use Microsoft Word as a Reporting Tool from Visual Basic

Category:
Office/VBA
Type:
Applications
Difficulty:
Intermediate
Author:
Alastair Vance

Version Compatibility: Visual Basic 6

More information:
You need Word 97 or 2000.

This code uses Microsoft Word as a reporting tool by inserting data into a report template at points marked by Document Variables.

An example project and template document are included.


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download docvariables.zip