I am trying to speed up some of my MS Word macros. Sometimes I run them on documents of over 1000 pages. The ScreenUpdate and ScreenRefresh commands were recommended. I tried using them in my display macros, but all it did was make the macros changes not work. Is it possible to use these in a macro that changes display properties? If so where would you use them in the following example:
selection.Find.ClearFormatting
Selection.Find.Replacement.ClearFormatting
With Selection.Find.Replacement.Font
.ColorIndex = wdBlue
End With
With Selection.Find
.Text = “[0-9]”
.Replacement.Text = “^&”
.Forward = True
.wrap = wdFindContinue
.Format = True
.MatchCase = False
.MatchWholeWord = False
.MatchWildcards = True
.MatchSoundsLike = False
.MatchAllWordForms = False
End With