I’m using below code to read and manipulate the Merge Fields but it is not getting the merge fields from textbox used in the word document, I am using excel VBA to read the word document.
I tried by using doc.shapes to get the textbox but could not get he items from text box
Could not find any resource for this.
For Each fld In .Fields
Debug.Print ("-" & fld.Code.Text)
Next