![]() |
|
#1
|
||||
|
||||
![]()
What you could do is loop through the Sections instead of through the pages. Any Chr(12) occurring within a Section can only be a page break.
Conversely, if you loop through the pages, any Section break within a page must be a continuous Section break.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
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.
|
#3
|
||||
|
||||
![]() Quote:
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] |
#4
|
|||
|
|||
![]()
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 |
![]() |
Tags |
page breaks |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
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 |
![]() |
sponge | Word | 3 | 09-14-2017 12:11 PM |
![]() |
jrasicmark | Word | 3 | 06-02-2014 11:28 PM |
Deleted Section Breaks Changes Page Breaks | Brantnshellie | Word | 0 | 02-01-2009 09:22 PM |