Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Mon Nov 19, 2012 2:19 pm

Hi,
I have successfully done a mail merge with my template, but I need to generate possibly hundreds of letters. Is there a way to merge all these documents into one? Thanks.

derek
 
Posts: 42
Joined: Mon Nov 19, 2012 11:55 am

Mon Nov 19, 2012 7:54 pm

Actually I've been trying to use your example MergeEventHandler, it looks like it's just what I need but I get an error on the following line:

Code: Select all
Dim paramgraph As Paragraph = TryCast(mergeField.PreviousSibling.Owner, Paragraph)


Object reference not set to an instance of an object.

If you can help me, I will buy it, thank you.

derek
 
Posts: 42
Joined: Mon Nov 19, 2012 11:55 am

Tue Nov 20, 2012 6:50 am

Hi,

Thanks for your inquiry.
About your requirement, we provide a simple demo with your template document for you. We use spire.doc.dll(v4.5.16.3040), spire.license.dll(v1.3.2.40) in bin/net4.0 of Spire.Doc Pack Version:4.5.16. Please download Spire.Doc Pack Version:4.5.16 from the link http://www.e-iceblue.com/Download/download-word-for-net-now.html. Please try to run the demo, and tell us whether it can resolve your all problems which you posted. If you still have the problems, could you please send your data and a simple document to show us what you want? And then we will provide you a new demo . Thank you!
PS:We remove these blank lines from your template document in the demo.


Best regards,
Amy
E-iceblue support
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Fri Nov 23, 2012 10:59 am

Thanks very much! I'll make the purchase.

derek
 
Posts: 42
Joined: Mon Nov 19, 2012 11:55 am

Mon Nov 26, 2012 6:07 am

Hi,

You are welcome.
If you have the problems about purchasing our products, please send your problem to our Sales team(sales@e-iceblue.com).

Best regards,
Amy
E-iceblue support
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc