T
tpark
I need to automate a simple mail merge using c# and am having no luck.
I tried the code on MSDN "How to automate Word to perform mail merge
from visual C#" and got all the same errors that everyone else is
getting. i.e Cannot apply indexing with [] to an expression of type
'Word.Tables'
If someone has a solution to this I would appreciate it. If not all I'm
looking for is to simply automate a mail merge using c# from a comma
delimited text file with Word.
I want to hit a button on the application and all it does is grab the
comma delimited text file, walk through the records and do a mail merge
and print each record out accordinly. It doesn't seem like this should
be too hard but I haven't been able to accomplish it.
If anyone has some useful links or sample code please let me know.
Thank you,
Todd
I tried the code on MSDN "How to automate Word to perform mail merge
from visual C#" and got all the same errors that everyone else is
getting. i.e Cannot apply indexing with [] to an expression of type
'Word.Tables'
If someone has a solution to this I would appreciate it. If not all I'm
looking for is to simply automate a mail merge using c# from a comma
delimited text file with Word.
I want to hit a button on the application and all it does is grab the
comma delimited text file, walk through the records and do a mail merge
and print each record out accordinly. It doesn't seem like this should
be too hard but I haven't been able to accomplish it.
If anyone has some useful links or sample code please let me know.
Thank you,
Todd