Microsoft Download Center Archive

Code Sample: Automating Word with Visual Basic

  • Published:
  • Version: 1
  • Category: SDK
  • Language: English

Code Sample: Automating Word with Visual Basic

The sample application “WordAutomation” demonstrates how to start Word, create a document, insert text and tables, replace fields with your own text, perform a mail merge and create a Word 2007 table from an ADO.NET DataTable.

Files

Status: Deleted

This download is no longer available on microsoft.com. The downloads below are archives provided by the Internet Archive Wayback Machine from the Microsoft Download Center prior to April 2023.

Files
WordAutomationSample.exe
  • SHA1: 1a9f768cc4654279aae1081e8353d3692b35e3ec
  • Size: 254 KB

File sizes and hashes are retrieved from the Wayback Machine’s indexes. They may not match the latest versions of files hosted on Microsoft servers.

System Requirements

Operating Systems: Windows Vista, Windows XP

Visual Basic 2005, Office 2007

Installation Instructions

Download, unzip and run

This page was generated from a snapshot of the Microsoft Download Center made on .
FamilyId: f1321885-1037-4f72-b94e-dda7f59319cb