Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-07-2025, 03:50 PM
macropod's Avatar
macropod macropod is offline How to Detect Specific Page Breaks in Word VBA Windows 10 How to Detect Specific Page Breaks in Word VBA Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,370
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

Quote:
Originally Posted by ADAL View Post
I am not sure what are you meaning. i need to loop pages, because i am making a macro to make all the pages to end at the same height (as know, it is a trouble in ms word), except for the pages they end in a page break.
Unless you're changing the page setup via Section breaks, all pages in a Word document have the same height. And even if you're using Section breaks, each Section can be formatted so the pages have the same height.



So it's not apparent to me what you think you'll achieve via a macro that inserts page breaks other than complicating any future edits to the document. Indeed, what you risk is having page breaks splitting paragraphs and, when you switch to a different printer, having the page breaks being pushed to the tops of the next pages, resulting in empty pages in your document.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #2  
Old 01-08-2025, 02:12 PM
ADAL ADAL is offline How to Detect Specific Page Breaks in Word VBA Windows 10 How to Detect Specific Page Breaks in Word VBA Office 2021
Novice
How to Detect Specific Page Breaks in Word VBA
 
Join Date: Dec 2023
Posts: 26
ADAL is on a distinguished road
Default

Thank you very much, but I didn't mean that the pages are not the same size, I meant that the text within the pages doesn't always end at the same height (this is a known problem)
LIKE IN THE ATACHMENT
Attached Images
File Type: png 1111.png (137.4 KB, 23 views)
Reply With Quote
Reply

Tags
page breaks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Detect Specific Page Breaks in Word VBA 2 frustrating bugs in Word 2019 draft view - page number in status bar and invisible page breaks sidr Word 19 01-15-2025 03:23 PM
MS Word - can I automate page breaks after every 150 words??? ninose Word 4 09-05-2020 12:13 PM
How to Detect Specific Page Breaks in Word VBA Avoid continous breaks turn into page breaks sponge Word 3 09-14-2017 12:11 PM
How to Detect Specific Page Breaks in Word VBA Hidden page breaks and section breaks jrasicmark Word 3 06-02-2014 11:28 PM
Deleted Section Breaks Changes Page Breaks Brantnshellie Word 0 02-01-2009 09:22 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:44 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