Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-06-2022, 04:17 PM
hephalumph hephalumph is offline find/remove duplicates Windows 11 find/remove duplicates Office 2021
Novice
find/remove duplicates
 
Join Date: Feb 2022
Posts: 9
hephalumph is on a distinguished road
Default find/remove duplicates

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?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
look for VBA to remove Duplicates from Subfolders nf24eg Outlook 0 08-12-2021 05:03 AM
find/remove duplicates Find duplicates in colums by row only 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
find/remove duplicates find and delete duplicates 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

Other Forums: Access Forums

All times are GMT -7. The time now is 06:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft