View Single Post
 
Old 08-16-2017, 01:34 AM
Productivity Productivity is offline Windows 10 Office 2010 64bit
Novice
 
Join Date: Aug 2017
Posts: 1
Productivity is on a distinguished road
Default Macro to search for a particular word, copy the entire paragraph to a new document

Dear colleagues
I need help to create a macro.

I have a document about 100 pages . The document is already arranged in paragraphs.

I need to go into that existing document on the screen and then use a macro that performs the following functions.

Search for the particular word which I would input into the macro . Say I need to search for President.

Wherever that word President appears in any paragraph the macro must extract the entire text in that paragraph
in which that word President appears.

The macro must place all those extracted paragraphs into one which contain the word President
into a new document or the bottom or top of the existing document.

Some help will be much appreciated
Reply With Quote