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 August 2020.

FileSize
WordAutomationSample.exe
SHA1: 1a9f768cc4654279aae1081e8353d3692b35e3ec
254 KB

System Requirements

Operating Systems: Windows Vista, Windows XP

  • Visual Basic 2005, Office 2007

Installation Instructions

  • Download, unzip and run

Related Resources