Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IRange Interface / Replace Method
The string you want to search for.
The replacement string.
The replace options.
In This Topic
    Replace Method
    In This Topic
    Search in formulas and replace. Using this method doesn't change either the selection or the active cell.
    Syntax
    System.int Replace( 
       System.object what,
       System.object replacement,
       ReplaceOptions options
    )

    Parameters

    what
    The string you want to search for.
    replacement
    The replacement string.
    options
    The replace options.

    Return Value

    Number of cells that was replaced.
    See Also