View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
ISay ISay is offline
external usenet poster
 
Posts: 15
Default Need Macro to remove empty paragraph marks.

This works up to a point. I'm still left with a paragraph mark/carriage
return at the end of every line so that I cannot justify the text. I can
highlight each paragraph then run a replace to remove paragraph marks within
that paragraph which is more trouble than it is worth. I need a macro for
doing this.

I would also like to know how to create a loop within a macro to continue to
the end of the document.


"macropod" wrote:

Hi ISay,

Ordinarily, Word expects a paragraph mark to consist of two characters - Hex OD & OA (ASCII 13 & 10). These constitute a carriage
return and line-feed pair. Sometimes, only the carriage return may be presnt, but Word will still display it as 'ΒΆ'.

All you need to do to overcome this is to use '^13' in the 'Find' box and, if you want to replace it with a 'proper' paragraph
marker, '^p' in the 'Replace' box.

--
Cheers
macropod
[MVP - Microsoft Word]