Finds all occurrences of a string in the specified object and replaces them with another string.
Syntax
object.FindReplaceInObject pdispObject, lFlags, bstrFindString, bstrReplacementString, pbSuccess
Properties
The FindReplaceInObject method syntax has these parts:
Part |
Description |
object |
An object expression that evaluates to an object in the Applies To list. |
pdispObject |
|
lFlags |
Long. Search modifiers. Valid entries:
|
bstrFindString |
String. String to be searched for. |
bstrReplacementString |
String. String to be substituted for all occurrences of bstrFindString. |
pbSuccess |
Boolean. Returns True if the operation succeeded, False otherwise. |