Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with automating Mail Merge

Status
Not open for further replies.

scc

Programmer
Apr 30, 2001
218
US
I am trying to automate a mailmerge from VB by calling the Word Application object and then using VBA to perform the merge.

Everything works fine until I get to the code to .OpenHeaderSource and .OpenDataSource. When my application hits this code, a dialog box pops up in Microsoft Word and asks for the field delimeters.

How can I set the field delimeters in code and supress this dialog box from popping up?
 
Can you post code examples, it makes it much easier to follow exactly what you are or are not doing.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top