If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 |
Thread Tools | |
Display Modes | |
|
|