I'm working with MS Office 2003 and visual studio 2005
I have experience with C# .NET and web applications, but I have not yet worked with Microsoft Office .. . until now. I'm trying to understand how to automate a mail merge and am looking for a little guidance.
I have a simple Windows Application with a button. Given a data source file and and merge document, I would like to perform a merge with the OnClick event.
My merge document is a *.doc.
My data source is a *.xls.
I am hoping there is a method that takes 2 arguments: one for data source file, one for merge document. Does this exist? I'm having trouble understanding the documentation that I have found. It seems all the examples create a data source file from scratch and I'm not understanding the call that actually merges the data.
Can someone point me in the right direction?