A computing device, the computing device comprising: a processor; a memory, comprising instructions, which when performed by the processor, cause the processor to perform operations comprising: receiving, at a recorder application, a first indication of a first operation and a second indication of a second operation from an electronic document application, the first indication of the first operation indicating that the first operation is performed on a first cell of the electronic document application and the second indication of the second operation indicating the second operation is performed on a second cell of the electronic document application, determining that the first operation and the second operation are combinable based on the type of operation, wherein the first operation and the second operation have a same type of operation; determining a range of cells expression that indicates a rectangle of cells that includes the first cell and the second cell; and generating within the recorder application code comprising an indication of a third operation of the same type and the range of cells expression, wherein the code is configured to, when played back by the recorder application, cause: the third operation of the same type to be performed by the electronic document application on the first cell and the third operation of the same type to be performed by the electronic document application on the second cell. a processor; a memory, comprising instructions, which when performed by the processor, cause the processor to perform operations comprising: receiving, at a recorder application, a first indication of a first operation and a second indication of a second operation from an electronic document application, the first indication of the first operation indicating that the first operation is performed on a first cell of the electronic document application and the second indication of the second operation indicating the second operation is performed on a second cell of the electronic document application, determining that the first operation and the second operation are combinable based on the type of operation, wherein the first operation and the second operation have a same type of operation; determining a range of cells expression that indicates a rectangle of cells that includes the first cell and the second cell; and generating within the recorder application code comprising an indication of a third operation of the same type and the range of cells expression, wherein the code is configured to, when played back by the recorder application, cause: the third operation of the same type to be performed by the electronic document application on the first cell and the third operation of the same type to be performed by the electronic document application on the second cell. receiving, at a recorder application, a first indication of a first operation and a second indication of a second operation from an electronic document application, the first indication of the first operation indicating that the first operation is performed on a first cell of the electronic document application and the second indication of the second operation indicating the second operation is performed on a second cell of the electronic document application, determining that the first operation and the second operation are combinable based on the type of operation, wherein the first operation and the second operation have a same type of operation; determining a range of cells expression that indicates a rectangle of cells that includes the first cell and the second cell; and generating within the recorder application code comprising an indication of a third operation of the same type and the range of cells expression, wherein the code is configured to, when played back by the recorder application, cause: the third operation of the same type to be performed by the electronic document application on the first cell and the third operation of the same type to be performed by the electronic document application on the second cell. the third operation of the same type to be performed by the electronic document application on the first cell and the third operation of the same type to be performed by the electronic document application on the second cell.