@
aap - Anything is better than Word's HTML, filtered, unfiltered, or passed thru a membrane water filtration unit :lol:
Now Kovid has access to the DOCX he should be able to tell you why you're not getting the desired results. Meantime here's a macro to delete unused styles that might help clean up the template
Code:
Sub DeleteUnusedStyles()
'
' DeleteUnusedStyles Macro
'
'
Dim oStyle As Style
For Each oStyle In ActiveDocument.Styles
'Only check out non-built-in styles
If oStyle.BuiltIn = False Then
With ActiveDocument.Content.Find
.ClearFormatting
.Style = oStyle.NameLocal
.Execute FindText:="", Format:=True
If .Found = False Then oStyle.Delete
End With
End If
Next oStyle
End Sub
BR