The structure and operation of a spreadsheet program, including advanced functions such as functions and macros, are documented in the technical, trade, and patent literature. [0006] Electronic spreadsheets offer many advantages over their paper counterparts.