WorkbookReplace Method (String, Double)

Replaces a cell's value with a new double.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.3.0.0 (20.3)
Syntax
public int Replace(
	string placeHolder,
	double newValue
)

Parameters

placeHolder
Type: SystemString
Cell placeholder
newValue
Type: SystemDouble
Double value to replace

Return Value

Type: Int32
Examples
 [C#]

 Workbook workbook = new Workbook();
 ......
 double newValue = 100.0;
 workbook.Replace("AnOldValue", newValue);


 [Visual Basic]

 Dim workbook As Workbook =  New Workbook() 
.........
Dim NewValue As Double =  100.0
workbook.Replace("AnOldValue", NewValue)
See Also