Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-07-2022, 09:01 PM
hephalumph hephalumph is offline Text Box or Style? How can I...? Windows 11 Text Box or Style? How can I...? Office 2021
Novice
Text Box or Style? How can I...?
 
Join Date: Feb 2022
Posts: 9
hephalumph is on a distinguished road
Default Text Box or Style? How can I...?

I am working on a VERY large document (more than 3 million words). In it, I have created a style to apply to various paragraphs, where it is indented both left and right, has a border and background shading, and a unique font/style.



An example of such an entry (made up gibberish just to show the overall style) is:

---
Name: John Doe
Status: Healthy
Age: 24 years
Credit Rating: Fair (680)
Vehicle Preference: Minivans
Favorite Color: Plaid
Goals: John Doe would like to increase his credit rating to Good so that he and his family can afford a new home, as well as a pair of new minivans. He and his wife would like to start a new family, and have a history of twins on both sides.
---

I would like to prevent any such styled consecutive 'paragraphs' (most are a single line long), whether it is 2 or 10 of them, from breaking across pages - moving the whole section to the next page if necessary to prevent it.

I tried setting the options, "Keep Lines together" and "Keep with Next" - but those seem to have no effect. So what mistake am I making? What should I add to the paragraph style to keep them all together?

~

I also had a thought that with the way I am styling them, a text box may work as good or better.

But I don't know if it would be simple to convert hundreds, possibly thousands, of such paragraphs through the document into text boxes.

I know I already basically mimicked a text box appearance with the style I made. But it was super simple to do a find/replace on certain key words and apply the style to the majority of paragraphs that needed it, and not too difficult to just manually apply the style to the rest using a keyboard shortcut as I read through the document.

I think even if I set up a text box template, it would be a TON more work to convert them all to text boxes...?

Also, I am not sure if it would be any easier to prevent said text boxes from breaking across pages?
Reply With Quote
  #2  
Old 02-07-2022, 09:22 PM
Guessed's Avatar
Guessed Guessed is offline Text Box or Style? How can I...? Windows 10 Text Box or Style? How can I...? Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,163
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I would start by saying DON'T use Text Boxes and Plaid is not a color.

Keep Lines Together would work if you have soft returns at the end of each line and a paragraph mark at the end of each entry.

If using paragraphs for each line, Keep with Next would work if you didn't have it turned on for the last line (Goals). Alternatively, you need a little empty paragraph (with a different style that doesn't keep with next to follow each entry block. Otherwise that last line will try to stick with the following (unrelated) entry and when everything is told to keep with next then Word has to break pages wherever it can. The Keep with Next method will be fiddly since it

You can also use table cells and tell Word to not allow rows to break. This can be done with a table style and gives the most flexibility in terms of styling the text inside and managing the shading and borders.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #3  
Old 02-07-2022, 09:33 PM
Charles Kenyon Charles Kenyon is offline Text Box or Style? How can I...? Windows 10 Text Box or Style? How can I...? Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,470
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Also, connsider using a Frame. A Frame can be part of a style definition making it easy to apply.
See Creating Frames in Word.
Reply With Quote
  #4  
Old 02-08-2022, 08:28 PM
spillerbd spillerbd is offline Text Box or Style? How can I...? Windows 10 Text Box or Style? How can I...? Office 2013
Competent Performer
 
Join Date: Jan 2016
Posts: 130
spillerbd is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
I would start by saying DON'T use Text Boxes and Plaid is not a color.
I learned Plaid was a velocity. "Space Balls"
Reply With Quote
  #5  
Old 02-08-2022, 08:38 PM
hephalumph hephalumph is offline Text Box or Style? How can I...? Windows 11 Text Box or Style? How can I...? Office 2021
Novice
Text Box or Style? How can I...?
 
Join Date: Feb 2022
Posts: 9
hephalumph is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
I would start by saying DON'T use Text Boxes and Plaid is not a color.
Quote:
Originally Posted by spillerbd View Post
I learned Plaid was a velocity. "Space Balls"
Plaid is my second favorite color. My favorite is bright neon clear.

Quote:
Originally Posted by Charles Kenyon View Post
Also, connsider using a Frame. A Frame can be part of a style definition making it easy to apply.
See Creating Frames in Word.
I tried out frames, and it took a bit of finagling, but I figured it out and they're working as desired - thanks!
Reply With Quote
  #6  
Old 02-08-2022, 08:49 PM
Charles Kenyon Charles Kenyon is offline Text Box or Style? How can I...? Windows 10 Text Box or Style? How can I...? Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,470
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Glad to have helped. Frames are an underutilized feature (which Microsoft does a good job of hiding).
Reply With Quote
Reply

Tags
break across page, paragraph styles, text box



Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Box or Style? How can I...? Char style and footnotes reference style superscript - applying character style removes superscript RRB Word 2 06-02-2021 02:54 PM
Text Box or Style? How can I...? End note Text Style and End note Reference Style Kohawk65 Word 4 01-08-2016 08:29 AM
Text Box or Style? How can I...? Macro to search warning text style and replace the text color rohanrohith Word VBA 3 11-27-2014 01:08 PM
Matching text style to drawing object style notarichman PowerPoint 0 03-07-2011 11:34 AM
Need to delete style and style text mclan Word 0 08-04-2008 12:05 PM

Other Forums: Access Forums

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