Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2011, 01:48 AM
LADeveloper LADeveloper is offline Eliminating Text Wrapping Via Macros Windows Vista Eliminating Text Wrapping Via Macros Office 2010 32bit
Novice
Eliminating Text Wrapping Via Macros
 
Join Date: Nov 2011
Posts: 2
LADeveloper is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 11-08-2011, 02:34 AM
macropod's Avatar
macropod macropod is offline Eliminating Text Wrapping Via Macros Windows 7 64bit Eliminating Text Wrapping Via Macros Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
  #3  
Old 11-08-2011, 10:17 AM
LADeveloper LADeveloper is offline Eliminating Text Wrapping Via Macros Windows Vista Eliminating Text Wrapping Via Macros Office 2010 32bit
Novice
Eliminating Text Wrapping Via Macros
 
Join Date: Nov 2011
Posts: 2
LADeveloper is on a distinguished road
Default 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.
Reply With Quote
  #4  
Old 11-13-2011, 12:55 AM
macropod's Avatar
macropod macropod is offline Eliminating Text Wrapping Via Macros Windows 7 64bit Eliminating Text Wrapping Via Macros Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
Reply



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

Other Forums: Access Forums

All times are GMT -7. The time now is 08:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft