WorkbookReplace Method (String, Int32)
Replaces a cell's value with a new integer.

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.9.0.0 (19.9)
Syntax
public int Replace(
	string placeHolder,
	int newValue
)

Parameters

placeHolder
Type: SystemString
Cell placeholder
newValue
Type: SystemInt32
Integer value to replace

Return Value

Type: Int32
Examples
 [C#]

 Workbook workbook = new Workbook();
 ......
 int newValue = 100;
 workbook.Replace("AnOldValue", newValue);

 [Visual Basic]

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