First I create an object of Document class
- Code: Select all
document = Document()
and load the document.
I have tried (but failed) to find the paragraphs with variations of:
- Code: Select all
document.Sections.get_Item(0).Paragraphs.get_Item(0)
document.Sections.get_Item(0).Paragraphs.get_Item(1)
Then I thought I would use 'Replace' to replace the paragraph with nothing.
Happy to use any approach that works.