L
LMo
I am currently using the following acor to delete a single char style.
However I am in need of a macro which will remove more than 1 char. Can this
be accomplished through use of a wildcard? If not, doe anyone have a
suggestion on how to rid my docs of multiple char styles?
Sub RemoveCharStyle()
Dim styl As Word.Style, doc As Word.Document
Set doc = ActiveDocument
Set styl = doc.Styles.Add(Name:="Style1")
On Error Resume Next
doc.Styles("Body Text_ACSSC Char").LinkStyle = styl
styl.Delete
End Sub
However I am in need of a macro which will remove more than 1 char. Can this
be accomplished through use of a wildcard? If not, doe anyone have a
suggestion on how to rid my docs of multiple char styles?
Sub RemoveCharStyle()
Dim styl As Word.Style, doc As Word.Document
Set doc = ActiveDocument
Set styl = doc.Styles.Add(Name:="Style1")
On Error Resume Next
doc.Styles("Body Text_ACSSC Char").LinkStyle = styl
styl.Delete
End Sub