Word.Application()
foreach(Microsoft.Office.Interop.Word.Fields Field in document.Fields) { if (Field.Code.Text.Contains("test")) { Field.Select(); application.Selection.TypeText("Name") } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)