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]
|