none
Powershell - Add Hyperlink to word doc INCLUDING footnotes RRS feed

  • Question

  • Hey all,

    I've been playing with the code here

    https://devblogs.microsoft.com/scripting/hey-scripting-guy-how-can-i-use-windows-powershell-to-add-hyperlinks-to-a-word-document/

    and it works really well (especially once I removed the style check which is superfluous to me), but it doesn't touch my footnotes. I'm very new to powershell (this is my first attempt!), and I've tried a few things like changing $document.content to $document.footnotes but quite predictably this doesn't work!

    What would need to change in order to get this script to run across an entire document; main body, footnotes, endnotes etc?

    Thank you,


    Saturday, June 8, 2019 4:49 PM

All replies