Macro to remove empty line spaces, i.e. more than one 'carriagereturn', in a veeeery long document

J

John

Hi.

I am going through a bunch of documents, by hand and deleting extra
'carriage line returns'.

Can anyone suggest an easy/efficient way of doing this?

I thought of using Find+Replace - perhaps that's the best way? Or
could a macro do it?

Thanks :)

Clueless Coder
 
D

Doug Robbins - Word MVP

Find and replace can do it.

If it is just one empty line at each location that you need to delete, you
can simply replace ^p^p with ^p

If there are two or more empty lines at each place then you could use a
Wildcard replace with ^13{1,} and replace it with ^p
 
J

John

Find and replace can do it.

If it is just one empty line at each location that you need to delete, you
can simply replace ^p^p with ^p

If there are two or more empty lines at each place then you could use a
Wildcard replace with ^13{1,} and replace it with ^p

--
Hope this helps,

Doug Robbins - Word MVP
dkr[atsymbol]mvps[dot]org




I am going through a bunch of documents, by hand and deleting extra
'carriage line returns'.
Can anyone suggest an easy/efficient way of doing this?
I thought of using Find+Replace - perhaps that's the best way? Or
could a macro do it?
Clueless Coder- Hide quoted text -

- Show quoted text -

Awesome, thanks for the wildcard replace trick. Didn't know that one!
 

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