You can use any text editor to create the text file data source. The sample code in this article uses a tab-delimited text file for the data source. This article describes how to automate Microsoft Office Word from a Microsoft Visual Basic application to create and to execute a mail merge for mailing labels. How to automate Word from Visual Basic to create a mail merge for mailing labels