So how would the macro be supposed to tell when a hyperlink shouldn't have the trailing space removed, or when a paragraph in a footnote shouldn't have trailing spaces removed? It seems to me you want it to do what you asked, except when you don't... And you did say you were:
Quote:
looking for a way to remove any trailing spaces from all footnotes.
|
and:
Quote:
Footnotes can have multiple hyperlinks and the last character may be within one of them and be a space or other character I want rid of
|
It also correctly handles the situation where:
Quote:
their spaces may be separating words between Hyperlinks and non hyperlink text
|