The sample shows the use of method mapCells(). The method allows you to get the current value of the specified cell and return some other value for it. If multiple cells are specified, the method is called for each of them by turn. Note, to work with the selected cells you can use method mapSelection().
Press tbe button to apply the mirror effect to the specified cells range.