View Single Post
 
Old 07-10-2024, 03:42 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,158
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

There are multiple ways you could approach this problem and the best solution would heavily depend on how you define 'notes' and 'headline'. If you are consistently using styles then it could be coded relatively easily.

I would probably do this as a multi-step process.
1. Remove all tables using Graham's suggestion
2. Remove all empty paragraphs (if there are any)
3. Step through each 'headline' and delete it if it is followed by another 'headline'
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote