This project has moved and is read-only. For the latest updates, please go here.

same token in same paragraph issue

Sep 15, 2016 at 8:35 PM
I have a piece of software that was built 5+ years ago and using an older version of DocX. (Side note, how do I find the version?)

We're using it to populate Word document templates from tokens such as %first_name% or %address1%.

We've found that if we put the same token twice in the same paragraph it doesn't work. However, it we put the same token in different paragraphs, both of them fill correctly.

Has anyone experienced this? Does anyone have a solution?
Sep 15, 2016 at 9:16 PM has all the versions on the right...

What are you using for replace method?
Sep 15, 2016 at 9:46 PM

Thanks for the quick response. I'm barking up the wrong tree, it's a different issue entirely. You can delete this post. Sorry for the clutter.
Marked as answer by jasonziolo on 9/15/2016 at 1:47 PM