Z
zSplash
I guess I just don't "get" what "Selection.FIND.ClearFormatting" actually
does. The problem I'm having is that past selection criteria remain in
effect, even though I've coded to clearformatting. So, simply, I guess,
what does Selection.Find.ClearFormatting "do"? (I've read the Help info on
the ClearFormatting Method, but it doesn't seem to be working in the
following code
Selection.FIND.ClearFormatting
With Selection.FIND
.Text = ""
.Wrap = wdFindContinue
.MatchCase = False
.MatchWholeWord = False
.Execute
End With
For example, previously I performed a search with the criteria: Search for
"df", Search Up and MatchCase. After I run the above code, the Search
Options are still Search for "df" and SearchUp.
Maybe I should be asking how to set my default search options.
whew. TIA.
does. The problem I'm having is that past selection criteria remain in
effect, even though I've coded to clearformatting. So, simply, I guess,
what does Selection.Find.ClearFormatting "do"? (I've read the Help info on
the ClearFormatting Method, but it doesn't seem to be working in the
following code
Selection.FIND.ClearFormatting
With Selection.FIND
.Text = ""
.Wrap = wdFindContinue
.MatchCase = False
.MatchWholeWord = False
.Execute
End With
For example, previously I performed a search with the criteria: Search for
"df", Search Up and MatchCase. After I run the above code, the Search
Options are still Search for "df" and SearchUp.
Maybe I should be asking how to set my default search options.
whew. TIA.