I've been working on removing styles in a word document but applying the style's formatting in a direct manner. In that connection, I've found
this thread helpful.
When I run the "UnLinkNotes()" macro provided in
this post, everything runs properly. I can then save as an RTF file, open-edit-and-resave in WordPad, and reopen-and-resave as a DOCX in Word. The formatting is then applied directly (what I'm wanting), but the footnotes are still grouped at the bottom of the document.
When i run the "ReLinkFootNotes()" macro provided in
this same post, however, I'm not able to reattach the footnotes. Instead, I get a "Type mismach" error on this line "k = .Paragraphs(1).Range.Words(1) - 1" in the macro.
Would you have any suggestions about how to adjust the macro so that it will run and relink the footnotes?
Thank you so much!