Word maceo to paste specific text feom a word file into new excel file

Nagul 1 Reputation point
2022-12-16T20:00:20.88+00:00

Hi May I request you all to help me for a macro to find and paste specific text from a word file into a new excel file.

The macro should copy any name which is appear either below or next to a text says "Name of person" however, do not pick any other rest of the words from the next paragraph onwards. Then paste the text nto a new Excel file.

Example:
Name of person Dr. Peter Paul G
Voluntarily retired

So, the macro should copy and paste only the word Dr. Peter Paul G
I have so many similar instances in my word document, so pls help me to extract

Developer technologies | Visual Basic for Applications
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.