Having a lot of trouble with this macro:
ActiveDocument.CopyStylesFromTemplate NormalTemplate.FullName
With Selection
.Style = ActiveDocument.Styles("Normal")
.Range.HighlightColorIndex = 0
.Font.Shading.Texture = wdTextureNone
.Font.Name = ActiveDocument.Styles("Normal").Font.Name
.Font.Size = ActiveDocument.Styles("Normal").Font.Size
End With
It works perfectly with a line like: This text should be formatted without bold or italics.
And converts it to" This text should be formatted without bold or italics.
However, it only works if I select up to right before the last character and run it. When I double click the line or select the entire line manually and run the macro it seems to have no effect at all.
Any ideas what might be causing this or if there is a different method I should use to remove bold/italicized text within a selection and convert all of the text to Normal style/font?
Edit: This may have to do with running the macro from a keyboard shortcut as it works fine when run manually via the macro menu.