#1
|
|||
|
|||
Search for a Text, then copy the header to a list
Hi,
This is beyond my weak macro knowledge. I am trying to build a macro that searches a large word document for 16.1 When it is found, it takes the first heading 2 styled text above this number (usually a few paragraphs above but it's not consistent) It adds this heading text to a list and then continues the search until the entire document has been searched. I will end up with a list of headings with 16.1 within that heading section. The document can be hundreds of pages, so want to find a way not to do it manually by running a search for 16.1 and manually copying the headings from the highlighted sections. Do you think is possible in a macro, can anyone get me started? Thank you in advance |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Search Folders migration/copy | luwi | Outlook | 0 | 09-26-2021 11:16 AM |
How To Copy Header From One Doc To Another? | gil_happy | Word | 7 | 05-14-2021 08:17 PM |
Browse, search and copy files from one location to another based on the list given in excel sheet us | nmkhan3010 | Excel Programming | 2 | 09-07-2020 10:27 AM |
Help to include header and footer in string search code which i already have. | branko | Word VBA | 1 | 03-28-2017 11:50 PM |
Search Replace Copy | dblack7211 | Word | 0 | 05-05-2010 01:19 PM |