Need Mail Merge Help RRS feed

  • Question


    I have created a Ribbon Bar and User Control that I open in a task pane. In the task pane I have fields for filter fields to retrieve the data that I want to make available for a Mail Merge in Office 2007. I have this working and it returns a DataSet. I need to make that dataset available to the user as a data source for the Mail Merge. The user needs to be able to use it to create the Mail Merge document as well as filling it in. I am in Visual Studio 2008. Any help will be appreciated.


    Thank You in Advance

    Sunday, April 6, 2008 11:45 PM


  • Word's mail merge requires a file saved to disk (preferably locally; network location is also possible). Mail Merge cannot connect to a source in memory.


    So, you'd need to use standard .NET Framework tools to write the stream to a (temporary) file, then link the main merge document to that file.


    Tuesday, April 8, 2008 9:47 AM