R
rhamre
Alright, now... i only ask questions when i really need help... so here goes.
I have documents that have all this highlighting to help notify people of
issues that may or may not be problematic, so i have this-
Sub RemoveHighlights()
Dim rngSearch As Word.Range
Application.ScreenUpdating = False
Set rngSearch = ActiveDocument.Range
rngSearch.Find.ClearFormatting
rngSearch.Find.Replacement.ClearFormatting
With rngSearch.Find
.Format = True
.highLight = True
.Replacement.highLight = False
.Execute Replace:=wdReplaceAll
End With
Application.ScreenUpdating = True
End Sub
Well, i get a document, and it turns out a programmer has added shading, not
highlighting.
I've tried all kinds of things to delete shading using a range, and i can't
figure it out. I searched through past threads and didn't find anything also.
If anyone could help it'd be much appreciated.
Thanks guys.
I have documents that have all this highlighting to help notify people of
issues that may or may not be problematic, so i have this-
Sub RemoveHighlights()
Dim rngSearch As Word.Range
Application.ScreenUpdating = False
Set rngSearch = ActiveDocument.Range
rngSearch.Find.ClearFormatting
rngSearch.Find.Replacement.ClearFormatting
With rngSearch.Find
.Format = True
.highLight = True
.Replacement.highLight = False
.Execute Replace:=wdReplaceAll
End With
Application.ScreenUpdating = True
End Sub
Well, i get a document, and it turns out a programmer has added shading, not
highlighting.
I've tried all kinds of things to delete shading using a range, and i can't
figure it out. I searched through past threads and didn't find anything also.
If anyone could help it'd be much appreciated.
Thanks guys.