
Originally Posted by
Frosty
Remove the comment from the "Next i" line
Remove the comment from the "On Error GoTo ERR_HANDLER" line
That's what keeps you looping through all the styles and resets your error handler.
You'll definitely want to test this code on different documents, as it can potentially cause issues with loss of direct formatting, character styles on top of paragraph styles, etc.
But in general, it's going to work for you. You didn't post the StripStyleKeepFormatting function, but that should also stay as it was, I believe.