Sub suppressDuplicates()
|
extract all the occurrences of "[…]" and put them into a new document
Sub extract()
|
select all the texts of style
foobar
Selection.Find.ClearFormatting
|
retrieve the reference of a document in the headers
Dim sect As Section
|
hyperlink the JIRA references
Sub hyperlinkJIRA()
|
hyperlink the document references
Sub hyperlinkDocs()
|
check that the paragraphs are correctly outlined (e.g. that there is not a title 3 just after a title 1)
the bad paragraphs are listed in a new document
Sub CheckOutline()
|
highlight in turquoise all the bookmarks which point toward a stricken through text
do no run this macro on the real document: in order to perform its tasks, it modifies the bookmarks
run this macro on a throwable copy of the document
Sub findObsoleteBookmark()
|
find all the sea green texts and set them to the automatic color
With ActiveDocument.Content.Find
|