Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
Tom Tom is offline
external usenet poster
 
Posts: 61
Default Apply Para Keep With Next command to two adjacent styles?

I have a long document with many images and captions below the images.
Sometimes due to page layout, the captions spill onto the next page
without the image. To fix this, I select the caption and image and
apply the Para Keep With Next command. This locks them together on the
same page.

I would like to automate this with a macro. All my images are in one
style (image) and all the captions are in another style (caption). Is
it possible to create a macro that says, find all instances where the
caption style is adjacent to the image style, and apply the Para Keep
With Next command?

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apply Para Keep With Next command to two adjacent styles? Tom Tables 0 December 15th 06 04:39 PM
What's the correct way to apply proper styles to Tables? Jen Tables 1 June 8th 06 11:21 PM
Apply Styles Sheet as per User needs in Word Documents Husain Nagri Microsoft Word Help 2 April 18th 06 12:17 PM
Style lists in the Styles and Formatting task pane Adrian Formatting Long Documents 5 March 3rd 06 08:36 PM
Custom Styles Questions Kim Microsoft Word Help 1 February 10th 06 10:09 PM


All times are GMT +1. The time now is 07:40 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"