I try to copy the text from the table in Word to the text, but after the text is overwritten, it appears in the text "black" dot. Please, can you tell me where I am wrong?
Dim rngStory As Range
Name_1 = ActiveDocument.Tables(1).Cell(1, 2)
For Each rngStory In ActiveDocument.StoryRanges
With rngStory.Find
.Text = "<<name>>"
.Replacement.Text = Name_1
.Wrap = wdFindContinue
.Execute Replace:=wdReplaceAll
End With
Next rngStory
Name_1
). See this: stackoverflow.com/a/49533912/3077495 – Cindy Meister