Word form field codes printing out rather then their text values.
Posted on 2013-12-16
Using the Visual Studio 2010, I have a VB application that exports data from the application,
to a Microsoft 2010 Word template.
In the template I have created tags using the Word's Form Filed tool.
Example: <<Letter Date>>
The app successfully exports data and fills the above form field with today's
date. But when I print the document the <<Letter Date>> is printed rather
then the date.
Things I've tried:
In the Microsoft Word options ->Advanced-> under "Show document content",
I have ensured that the "Show field codes instead of their values" is un-clicked.
Also in Word options under "Print"
I've ensured that the "Print field codes instead of their values" is un-clicked.
But when I print the Document, the field codes <<Letter Date>> still prints rather
then it's contents, todays date.