Hi saints,
As indicated in post #6, if you want to clean up just a selected block of text, change:
ActiveDocument
to:
Selection
Trying to code a macro that could deal with every possible heading scenario, etc, is a complicated exercise that is probably not worth the effort.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|