#1
|
|||
|
|||
Eliminating Text Wrapping Via Macros
I'm working on a large legal document (400+ pages). I have created a 'toggle button' which switches from a finished printable version of the document to a 'work' version where some words are highlighted and underlined, bolded, etc - as well as an occasional note is added. The toggle button is simply switching styles throughout the document.
My client wants the document to be the same number of pages in either version. Unfortunately, to eliminate some of the ''Notes" in the document, I apply a style that changes the font to white and the size to 1...making it essentially invisible for the printable version. This, however, ends up shortening the document by a page. Is there any way to 'lock' the text wrapping, so that if a word is shortened or elminated in a line, it doesn't affect the horizontal length of the document? Any info would be much appreciated. Thanks. |
#2
|
||||
|
||||
Hi LADeveloper,
This really isn't practicable. You could insert manual page breaks at the end of each page, so that each page's stays put if something ahead of it is changed, but then the document becomes a nightmare to maintain for any normal editing (eg adding/deleting text, changing fonts, etc).
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Thanks!
That's what I figured -- I wish thinking maybe I could write some vba to add page breaks where they naturally occur, and then remove them if the document needs editing. But if that's possible, I can't figure out how to do it.
|
#4
|
||||
|
||||
It can be done with vba, but that inserts a paragraph break in any paragraph that spans two pages. If you're using justification, the last line before the break won't be justified. Plus, if the first line of the affected paragraph is numbered/bulleted, so too will be the new paragraph created by this process. That could make a reall mess of any numbering scheme you're using. Further, running code to remove the page breaks later on won't remove those extra paragraph breaks. Cleaning those up can be difficult because of the need to work out whether each page starts with a real new paragraph.
IMHO, you'd be better off abandoning the idea and either accept the changed pagination or leave the white text's size alone so that the pagination remains unchanged.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can the default Wrapping Style settings for Text Boxes be set | degda01 | Word | 4 | 11-11-2010 10:19 AM |
Default Text Wrapping when image inserted | johnnypalmer | Word | 2 | 11-04-2010 12:02 PM |
Right-to-Left text wrapping/input issues | Chaptain | Word | 0 | 12-16-2009 03:24 PM |
Excel Tables, Text Box wrapping, Form Locking | all4als | Word Tables | 0 | 11-03-2009 02:26 PM |
Text Wrapping on Fixed Lines in a Form field/Table cell | okrmjr | Word Tables | 0 | 10-30-2009 08:52 AM |