![]() |
|
#5
|
|||
|
|||
|
Using the wdFootnotesStory was something I also explored, but it didn't let me focus on individual footnotes. I'm trying to get fine grained control, and am removing the end spaces to learn how best to do that.
If a footnote ends in space(s) then I want to remove those spaces, hyperlink or not. But the last space(s) might not be in a Hyperlink.TextToDisplay, so I do not want to trim spaces from all hyperlinks since their spaces may be separating words between Hyperlinks and non hyperlink text. (A footnote can have many hyperlinks within text) But if the last space is not in a hyperlink, and by removing that space the end space may then become one at the end of a Hyperlink, and then it would need to be removed. Same with paragraphs. A footnote could have multiple paragraphs but only the trailing space(s) at the end of the final one of the footnote should be removed. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Removing spaces in activedocument after empty bookmarks
|
faustino909 | Word VBA | 2 | 08-03-2018 01:34 PM |
How to remove trailing & leading spaces in a cell?
|
LearnerExcel | Excel Programming | 8 | 02-04-2018 08:22 PM |
removing spaces in cell
|
Tonykiwi | Excel | 4 | 11-06-2016 09:30 PM |
Mail Merge - Trailing Spaces
|
osucjb | Mail Merge | 5 | 10-28-2016 12:03 AM |
| Word-Help with removing unwanted spaces in text | greshoff | Word | 9 | 12-30-2011 03:24 PM |