I am using Aspose word.dll version 1.6.3.0.
One the merge document contains logo(Picture) which gives error while saving (object ref error).If i removes logo it works fine.i am using following code to merge document
Dim Doc5 As Document = OpenDoc(DocName, TemplatePath)
Dim totalSections As Integer = Doc5.Sections.Count
For k = 1 To totalSections
Dim mySection As Section = Doc5.Sections(0)
Doc5.Sections.RemoveAt(0)
doc.Sections.Add(mySection)
Next k
Doc5 = Nothing
doc.MailMerge.Execute(dsAgency.Tables(1))
doc.save(path)
Please let me know the resolution
Thanks,
Aarti Sawant