User input required when you programmatically attach Outlook contact list in mail merge operation in Word

Article translations Article translations
Article ID: 286842 - View products that this article applies to.
This article was previously published under Q286842
Expand all | Collapse all


When you attempt to use Microsoft Visual Basic for Applications (VBA) code to attach a Microsoft Outlook contact list as the data source for a mail merge main document, the operation does not run without user input as expected. Instead, you may be prompted to supply a valid user profile and to select a Contacts list to attach the data source.


This behavior occurs because the SQL statement causes the dialog boxes to appear even though the statement contains all the information that is required to identify the data source.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Article ID: 286842 - Last Review: January 29, 2007 - Revision: 3.3
  • Microsoft Office Word 2003
  • Microsoft Word 2002 Standard Edition
kbbug kbmerge kbnofix KB286842

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from