win32com - Using Python to find and replace footnotes in word -


i trying use python hyperlink text in ms word documents. using win32com module, have become little stuck on how text footnotes (and how add hyperlink).

i have tried reading stuff from: https://msdn.microsoft.com/en-us/library/kw65a0we(vs.80).aspx https://msdn.microsoft.com/en-us/library/bb179107(v=office.12).aspx in effort see command might be.

use

footnotes = activedocument.storyranges(wdfootnotesstory) footnotes.find.execute(findtext="microsoft word", forward=true) while footnotes.find.found:    ...do something, then:     footnotes.find.execute(findtext="microsoft word", forward=true) 

more details @ https://msdn.microsoft.com/en-us/library/office/ff845743.aspx.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -