JSpreadsheet > Tutorial > Replace text

The example shows you how to open a workbook and replace text. Replace searches the cells of all worksheets, the rich text runs inside them, the comments, the headers, the footers and the text of shapes, and returns the number of replaced occurrences. The format of the cell and the properties of all runs remain unchanged. Formulas are not searched by default because a replacement could make a formula invalid.

Need help? Ask our developers: