macropod thank you very much for providing that macro. I have a similar use to OP for this and it seems to be almost exactly what I was after.
An issue that I have encountered that I wonder if you can help with is that my document uses If...Then...Else... merge fields. While the normal merge fields appear to be correctly converted to static text, the if fields do not get converted... Are you able to point me in the right direction to fix this?
Edit: I have been able to resolve my own issue by adding the 'wdFieldIf' type to the line where fields are unlinked (so that it now reads: 'Case wdFieldMergeField, wdFieldMergeBarcode,
wdFieldIf, wdFieldMergeRec, wdFieldMergeSeq: .Unlink')
In the hope that this might assist others with this issue in the future, I found the relevant enumeration here:
WdFieldType enumeration (Word) which should allow you to find any specific/niche field types to insert into that line.