On further reflection, if you are planning to use the second suggestion with the batch process, don't set oDoc to Nothing in the cleanup section at the end of the function.
I have prepared a web page that covers the process and includes some modifications to the code
http://www.gmayor.com/add_hyperlinks_to_footnotes.htm