Worksheet.Replace

Worksheet.Replace method

Replaces all cells’ text with a new string.

public int Replace(string oldString, string newString)
ParameterTypeDescription
oldStringStringOld string value.
newStringStringNew string value.

See Also