View Single Post
 
Old 08-30-2018, 02:23 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,369
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote