question

MarkMiddlemist avatar image
0 Votes"
MarkMiddlemist asked

Accessing the document location of a mergefield in C# VSTO (Word)

Hi All

I'm in the process of working on an add-in. Amongst the requirements I need to be able to analyse the location of merge fields.

I can iterate through the merge fields and access the text (Code) with no problems but I could do with accessing the location of the field, but I can see no way of getting from there to a location.

If anyone can help it would be much appreciated

Thanks in advance

Mark

office-vsto-com-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers