![]() |
#1
|
|||
|
|||
![]()
I have a large (3Million+ word) document I converted from RTF into a Word Doc.
At the start of many (maybe most) sections, the section title is repeated for some reason. So it has something like: Section 1: How to do something Section 1: How to do something Paragraphs on how to do something. Section 2: More details. Section 2: More details. Paragraphs of more details and so on. I already figured out how to do a case-sensitive find/replace on "Section" and not replace the text but to make the style of those lines all Heading 1 - which formatted them and added them to the navigation pane at the same time. Which was awesome! Now I am hoping there is some way that I can ferret out all of the duplicate section headings and remove the extras. I found if I right-click the title in the navigation pane I can delete it from there (and learned to make sure it was the first of the duplicates, as the second would delete the doubled title PLUS all of the contents in that section!). But with nearly 5,000 sections total, and close to (or maybe more than) half of them duplicated, this would be a long process. Is there any way to go through and do this with some variation of a find/replace? |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
look for VBA to remove Duplicates from Subfolders | nf24eg | Outlook | 0 | 08-12-2021 05:03 AM |
![]() |
akol1214 | Excel | 3 | 10-04-2018 11:58 PM |
Macro to keep first instance and remove duplicates in certain column | zhead | Excel | 2 | 03-18-2015 10:16 AM |
![]() |
rcVBA | Word VBA | 4 | 05-15-2013 03:08 PM |
Macro to remove duplicates in Refrences list | HowardC | Word VBA | 0 | 05-20-2010 09:57 AM |