Range.Replace

This function searches for the specified text within the range and replaces it with another specified text string.

Syntax Parameters Return Value
Function Range.Replace( _
    What As String, _
    Replacement As String, _
    Optional LookIn As Variant, _
    Optional MatchCase As Variant, _
    Optional MatchEntireCell As Variant) As Boolean
  • What [in]

Type: String

  • Replacement [in]

Type: String

  • LookIn [in,optional]

Type: Variant

  • MatchCase [in,optional]

Type: Variant

  • MatchEntireCell [in,optional]

Type: Variant

Boolean