L
LDaugherty
I am using a .find and .execute ReplaceWith in VB to
search for text in a Word document. My code works
perfectly on most machines but some are bombing on
the .ClearFormatting portion. Here is a portion of the
code:
WordApp.Selection.Start = 0
With WordApp.Selection.Find
.ClearFormatting
.Text = "FIND"
.Execute ReplaceWith:=""
End With
Is there some supporting file that these other machines
are missing (they have MSWORD9.OLB and it is appropriately
referenced in VB)? Has anyone even heard of this being an
issue?
Thanks
Laura
search for text in a Word document. My code works
perfectly on most machines but some are bombing on
the .ClearFormatting portion. Here is a portion of the
code:
WordApp.Selection.Start = 0
With WordApp.Selection.Find
.ClearFormatting
.Text = "FIND"
.Execute ReplaceWith:=""
End With
Is there some supporting file that these other machines
are missing (they have MSWORD9.OLB and it is appropriately
referenced in VB)? Has anyone even heard of this being an
issue?
Thanks
Laura