Free Support Forum - aspose.com

MailMerge trimming leading zeros

Hi,

i use _DocumentBuilder.Document.MailMerge.Execute(Table) to substitute the Mergefields in a Word Doc.

At fields that contains only numbers like a phone number field ( 040 605 22222) the text after merging trimms out the leading zero. How can I void that ?

kind regards

Oliver

Hi

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

Thanks for your request. Most likely you are using Apsose.Words 7.0.0. Is that right?

This problem is already resolved in the latest version of Apsose.Words (8.0.0). You can download it from here:

http://www.aspose.com/community/files/51/.net-components/aspose.words-for-.net/category1188.aspx

Please let me know in case of any issues.

Best regards.