This article was previously published under Q286842
This article has been archived. It is offered "as is" and will no longer be updated.
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.