0
Reply

manipulating word template

Sanjay Noesys

Sanjay Noesys

15 years ago
2.1k

Hi,

I have a word template as below:

[OpeningTagStart]

This line will repeat with [Values]

[/OpeningTagStart]

I get data from a database and replace in the template the "values". The "line" is contrstructed and pasted into the document, however apart from the first line the formatting of the lines go missing the second line onwards.

How can I retain the formatting ?

A code block/snippet to achive this would be helpful.