![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 into Excel only the word Dr. Peter Paul G I have so many similar instances in my word document, so pls help me to extract |
| Tags |
| find specific text |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Find a Specific word in doc file using VBA
|
Priyantha Gamini | Word VBA | 7 | 12-14-2022 05:18 AM |
Macro to check the existence of a word docx file and create a new word file with specific content.
|
staicumihai | Word VBA | 14 | 11-15-2016 01:42 AM |
| Macro to highlight repeated words in word file and extract into excel file | aabri | Word VBA | 1 | 06-14-2015 07:20 AM |
| needles and haystacks – how to find that one .doc file containing a specific word? Windows 7 | eNGiNe | Word | 0 | 04-01-2015 11:15 PM |
Word Macro: Save file as text with current file name
|
jabberwocky12 | Word VBA | 2 | 10-22-2010 12:23 PM |