Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.tables
|
|||
|
|||
Apply Para Keep with Next command to two items automatically?
Is it possible to apply the Para Keep with Next command to two items of
the same style automatically? For example, I have a long Word document with numerous images and captions below the images. The images and captions should always be together, but sometimes due to page layout, the caption spills onto the next page without the image. Captions are always in one style ("Caption"). Images have another style ("Body Text 2"). I would like to somehow create a maco that says, find all instances where the caption style and the Body Text 2 style are right next to each other, and apply the Para Keep With Next command to both of them. Is that possible, or am I dreaming? Tom (Sorry, I know this isn't a table question, but I didn't know what other forum to ask this in.) |
#2
Posted to microsoft.public.word.tables
|
|||
|
|||
Apply Para Keep with Next command to two items automatically?
You don't want KWN to apply to both styles, only the image (if the caption
is beneath it). Otherwise both image and following caption will spill to the next page whenever there is not room for them *and* the following text paragraph. No macro is needed; the way to make this happen "automatically" is to modify the Body Text 2 style to include the "Keep with next" property. See http://www.shaunakelly.com/word/styl...ifyAStyle.html for the general principles; in the Modify Style dialog, click Format, then Paragraph, then check "Keep with next." FWIW, a more appropriate NG for this question would be microsoft.public.word.pagelayout. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Tom" wrote in message ups.com... Is it possible to apply the Para Keep with Next command to two items of the same style automatically? For example, I have a long Word document with numerous images and captions below the images. The images and captions should always be together, but sometimes due to page layout, the caption spills onto the next page without the image. Captions are always in one style ("Caption"). Images have another style ("Body Text 2"). I would like to somehow create a maco that says, find all instances where the caption style and the Body Text 2 style are right next to each other, and apply the Para Keep With Next command to both of them. Is that possible, or am I dreaming? Tom (Sorry, I know this isn't a table question, but I didn't know what other forum to ask this in.) |
#3
Posted to microsoft.public.word.tables
|
|||
|
|||
Apply Para Keep with Next command to two items automatically?
I didn't realize such a simple fix would actually work, but I just
tried it and it did. Thanks Susan. Also, I was unaware of the page layout forum. I'll subscribe to that. Sorry for the duplicate posts -- I kept getting a server timed out error, and didn't realize it had posted. Thanks for your help. Tom |
#4
Posted to microsoft.public.word.tables
|
|||
|
|||
Apply Para Keep with Next command to two items automatically?
Sorry for the duplicate posts -- I kept getting a server timed out
error, and didn't realize it had posted. That seems to happen a lot, though usually in the Communities forum. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Tom" wrote in message ups.com... I didn't realize such a simple fix would actually work, but I just tried it and it did. Thanks Susan. Also, I was unaware of the page layout forum. I'll subscribe to that. Sorry for the duplicate posts -- I kept getting a server timed out error, and didn't realize it had posted. Thanks for your help. Tom |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Apply Para Keep With Next command to two adjacent styles? | Tables | |||
How to automatically apply different style to text before printin. | Microsoft Word Help | |||
Automatically apply bold formatting as I type | Microsoft Word Help | |||
How to apply a different page setup to a .rtf file automatically. | Page Layout | |||
how do i automatically format specific text e.g apply a custom col | Microsoft Word Help |