Nov 20 2021 06:50 AM
I have a little issue with WORD when I insert a Page Break (with "Ribbon Insert, then Icon Page Break"). From WORD at home (01) and WORD at work (02), I got 2 different results (See attachment Capture 01 & 02). And I can't control it, even when I tried with "Ribbon Layout, Paragraph (little arrow in the corner), then Line and Page Breaks", it doesn't help.
Do you know what is the difference and how to control the display? Obviously, if you hide the Paragraph Mark, you won't see the difference. But, when I am using VBA to create a document from 2 various source (WORD from home or from work), I will have a small issue. Therefore, I would like to understand how to control this Page Break one way or another.
I also attached 2 WORD files showing the issue.
It may be simple, but I can't see it.
Thanks,
JLuc01
Nov 22 2021 08:27 AM
Generally, how Word manages manual breaks and paragraph marks will depend on the version of Word you are using and/or which version of Word created the document. Newer versions add both a page break and a paragraph mark as you insert a page break (while older versions do/did not).
Are the documents saved in the exact same format? Is one of the documents displaying in compatibility mode?
Nov 22 2021 02:26 PM
Nov 22 2021 05:26 PM - edited Nov 23 2021 06:17 AM
Solution
Compatibility mode means that the document format is older than the version of Word which is currently editing or viewing the document. The reason could be that an older version of Word has created the document, or that the document has been saved in such a way that it maintains compatibility with older file formats.
A document in Compatibility mode can be "upgraded" via File > Info > Convert.
A different approach is not to make use of a manual page break at all. Instead, you can add "Page break before" formatting to an appropriate text paragraph to force it to a new page.
Nov 23 2021 09:44 AM
Nov 23 2021 10:38 AM
The advantage with "Page break before" formatting is that it can be added to a paragraph style, which means that the formatting can be re-used, in the same way you can re-use other formatting.
In addition, the formatting will not add a visible break in the document, so there is no risk that you remove it by mistake, for example.