1. A method for defining a new command in a spreadsheet application, the method comprising: receiving a declaration command in a first spreadsheet cell, the declaration command identifying a command name for the new command and operations performed for the command name based on a plurality of second spreadsheet cells.