The macro does nothing to affect your document's formatting, other than to delete empty paragraphs at the end.
The problem you're having is most likely due to the fact you've used direct formatting to override a Style definition and the new paragraph is being created, as it should be, without that over-riding. The moral of the story is that you should learn to use Styles properly and to not override them with direct formatting.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|