The custom server has implementation to detect a formula cell with formula and value in it. IsFormulaCell is the function that servers the information for a given row and column index. This function points out the formula used in that cell and the result of the formula. This returns false when the cell is not a formula cell.
The syntax for this function is,
Where, row is the index of the row, col is the index of the column, formula retrieves the formula of the cell, computedValue retrieves the computed or calculated value of the cell, IsFormulaCell returns true when the given row and col is a FormulaCell, false otherwise.
The sample script is as follows.
Note: Run the above script in the QTP server.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|