how to delete blank lines in a document

A

Aleta Floyd

anyway to delete blank lines in a long document without
manually deleting each one? i.e. delete all in a batch/
at one time.
 
S

Suzanne S. Barnhill

If the "blank lines" are empty paragraphs, you can search for ^p^p and
replace with ^p, continuing until you get 0 replacements. Note that this
will not work if the paragraphs are not truly empty (that is, if they
contain any spaces). You'll have better success if you display nonprinting
characters (Ctrl+*) so that you can see what you're dealing with.

If the blank lines are created with Space Before/After, you will need to
modify the paragraph formatting of the relevant style.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
M

martinique

You can catch the blank lines that contain spaces or tabs using ^p^w^p as
your search string.
 
Top