We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Remove bullet using conditional mail merge logic


I want to ask, is there any method to control to shows a bullet or not in a word template using mail merge field logic only without any coding?

Ken Wan

Hi Ken,

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. You can try using IF field conditions to achieve this. For example see the attached documents. Press Alt+F9 to see field codes.

Here is code, which I used to fill the document with data:

Document doc = new Document(@"Test001\in.doc");

doc.MailMerge.Execute(new string[] {"test"}, new object[] {"test"});


Best regards.