View Single Post
 
Old 01-03-2025, 05:31 AM
ADAL ADAL is offline Windows 10 Office 2021
Novice
 
Join Date: Dec 2023
Posts: 26
ADAL is on a distinguished road
Default

Thanks, but I don't understand how that could help me in my case, maybe I didn't explain myself well, I want in the pages that there is a pagebreak of any type, that x is done and if there is no pagebreak of any type that y is done (even if there is a continuous sectionbreak on the page)
I tried this
Code:
Set rngPage= ActiveDocument.Bookmarks("\page").Range
If Len(rngPage.Text) - Len(Replace(rngPage.Text, Chr(12), "")) > 0 Then

but it also detects the continuous sectionbreaks
Reply With Quote