Hi Macropod, thank you so much for taking the time to look at this issue and update the code - I've run the code on my document - the code hangs for a while but I'm guessing its because it is a 200 page document so takes time to read through but it doesn't seem
to move the footnote ref before the square bracket at the end of paragraphs so ]FN becomes FN] or .]FN becomes FN].
When I show the form field codes the square brackets are all FORMTEXT - I did try changing wdFieldNoteRef to wdFieldFormTextInput but that didn't work.
I'm curious to know what this line of code means and how the code picks up punctuation just from a learning point of view?
Code:
"[!0-9A-Za-z" & vbCr & Chr(11) & vbTab & "]"
Attachment 18328