View Single Post
 
Old 01-03-2025, 05:37 AM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

What do you want to do with the breaks when you find them? The code I posted shows how you might delete all except Continuous Section Breaks (I mis-read your 'detect' as 'delete'). There's all manner of other things you could do, but you need to give more detail. What do you want to do each kind of break or the ranges preceding them?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote