[]
Search in formulas and replace. Using this method doesn't change either the selection or the active cell.
int Replace(object what, object replacement, ReplaceOptions options = null)
Function Replace(what As Object, replacement As Object, Optional options As ReplaceOptions = Nothing) As Integer
| Type | Name | Description |
|---|---|---|
| object | what | The string you want to search for. |
| object | replacement | The replacement string. |
| ReplaceOptions | options | The replace options. |
| Type | Description |
|---|---|
| int | Number of cells that was replaced. |