Mar 22 2022 08:48 AM
Mar 22 2022 08:48 AM
Hi, I ran into an issue, where it does not seem to be possible to keep title (single line of text) with the following table. My table title has a separate style attached to it that uses "Keep with next". This works perfectly if the following is another paragraph. But if what follows is the table, keep with next is not honored anymore. (Microsoft Word version 2202 on Windows x64). Has anybody else ran into this?
Also, when using print preview - the layout somewhat breaks as if Word was trying to honor keep with next and it just keeps jumping back and forth. I can provide more info and pics if it could be of any help.
Thanks for any hints!
Mar 22 2022 06:10 PM - edited Mar 22 2022 06:11 PMSolution
In a quick test, I observed nothing strange here, using a built-in heading style and a table immediately below the heading paragraph.
Did you make sure that there were no blank paragraphs between the heading and the first table row? Click the ¶ icon on the Home tab to view all nonprinting marks.
If you want to, you can share a sample document which illustrates what you see.
Mar 23 2022 07:50 AM
Mar 23 2022 10:40 AM
Thanks for the follow-up. I'm glad you got it sorted, in the end.
Mar 24 2022 12:02 AM
@Stefan_Blom OK, so I re-did the test under Windows 11 (22H2 22579.1) and the "keep with next" functionality is indeed broken. Here is a short clip demonstrating the issue. The table sticks together nicely, but the title does not. (on the link the clip is not compressed to heavily like on the gif below).
Mar 24 2022 12:19 AM
I see the issue in your clip. Can you also share a sample document in Word format? You can upload it to OneDrive or Dropbox and post a "share" link in the thread.
Mar 25 2022 12:14 AM
Interestingly, in the online version of Word the Table title is shown on the second page, whereas at the same time, on the desktop version it is at the bottom of the first page.
I have also created another video showing the strange behaviour, adding only gif this time, should be enough. That the Table title appears twice is not a video glitch, it really does happen.
Mar 25 2022 03:03 AM - edited Mar 25 2022 06:52 AM
In the web browser version of Word, the display is often less reliable. The reading view is more accurate.
Here, I am not seeing a glitch when I open the document in the full version of Word (version 2202, Office 2021, running under Windows 11). Deleting/adding a paragraph mark on the first page will move the title + the table back and forth between the pages in the expected manner.
Mar 25 2022 03:13 AM
yes, the same document behaves normally in the same version of MS Word on my other machine with Windows Server 2019, but shows this strange behavior under Windows 11
Apr 19 2022 04:48 AM - edited Apr 19 2022 04:56 AM
I have a similar issue with my offline version of Word on a Windows 10 machine.
I have a highly structured document where every heading is followed by a table, and there are a lot of headings, which means that I now have a lot of orphaned headings at the bottom of pages. Keep with next is activated for all heading styles.
I have not worked on the document for a few weeks, but at the beginning of March everything was still OK, that is, keep with next would prevent page breaks between a heading and a table (no empty lines in between).
In the online version of Word, keep with next still seems to work, but I cannot store the file in OneDrive.
Does anyone have a solution for this?
Office 365, 14931 20132
Apr 20 2022 02:20 AM
You can share a sample document in Word format, and someone will have a look.
Apr 20 2022 02:59 AM
We also tried to open the original document on a different team members machine and there it works as normal. Her version is more advanced than mine, therefore I hope the problem is gone after the next Office update.
Apr 20 2022 04:44 AM
Apr 20 2022 06:48 AM
Thanks for the follow-up. I'm glad that updating Office sorted the issue.
May 17 2023 09:00 AM
@Stefan_Blom Hi! I just wanted to mention that I had the same issue as mentionned above: "keep with next" didn't seem to be working with a table, and even with normal text.
Here is what the problem was: the previous paragraph had "keep with next" activated and seemed to have precedence over the next one. By deactivating "keep with next" in the previous paragraph or table, all functioned normally (someone had overused the function in the document, it was everywhere).
I just thought that might be useful information to other users.
May 17 2023 01:11 PM - edited May 19 2023 09:42 AM
For paragraphs in the main body of the document, "Keep with next" works as you would expect: it keeps the paragraph with the next paragraph. (Inline objects behave as text characters within a text paragraph, so these would also be affected by "Keep with next.")
Within a table, "Keep with next" formatting will only work if it is applied to an entire row.