How to remove all blank lines

T

tdcsi

Hello Everybody,

I would like to remove all blank lines from a document.
Can an Edit/replace do the job, or a VB Macro ?

Thanks in advance.
 
G

Greg Maxey

tdcsi,

What do you mean by blank lines? Are your talking about
extra space between your document paragraphs? This could
be caused by Format>Paragraph>Spacing Before or After and
it could be caused by improper use of the enter key
filling the document with empty paragraphs.

You can use edit replace to clear up most empty paragraphs.

Edit>Replace and click More>Use Wildcards
Type ^013{2,} in the find what field
Type ^p in the replace with field.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top