Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Keep Lines Together

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ilene - 27 Mar 2006 19:54 GMT
Could someone please tell the code to use Keep Lines Together on a selected
paragraph?

Signature

Thank you for your help!
ilene

Jay Freedman - 27 Mar 2006 20:43 GMT
The code is

  Selection.ParagraphFormat.KeepTogether = True

It would be better, though, to make this part of a paragraph style and
apply that style when needed.

--
Regards,
Jay Freedman
Microsoft Word MVP        FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

>Could someone please tell the code to use Keep Lines Together on a selected
>paragraph?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.