Click or drag to resize

ExcelRangeReplace(String, String) Method

Replaces a text with another text in the cells of this range that contain text, in any part of the cell and without regard to case. Formulas, numbers, dates and booleans are not changed.

Namespace: ExpertXls.ExcelLib
Assembly: expertxls (in expertxls.dll) Version: 10.0.0
Syntax
public int Replace(
	string oldText,
	string newText
)

Parameters

oldText  String
The text to replace.
newText  String
The replacement text. Null or an empty string removes the old text.

Return Value

Int32
The number of cells that were changed.
See Also