Change MergeField to text only
问题 I need to replace text into MergeField and do it simply text. I found question on the topic. It works for me. This code changes the text, but leaves the field as MergeField . And other question that change MergeField to text. But if there are several such fields in one line, the second one will be deleted. At this point, I've tweaked the code from the first link a bit. What do I need to add to change MergeField to text? string sourceFile = @"C:\Users\Owl\Desktop\Template.docm"; string