NewsForge: Getting Started with OpenOffice.org Macros

“An OpenOffice.org macro is a saved sequence of commands or
keystrokes that are stored for later use. An example of a simple
macro is one that ‘types’ your address. Macros support commands
that allow a variety of advanced functions, such as making
decisions (for example, if the balance is less than zero, color it
red; if not, color it black), looping (if the balance is greater
than zero, subtract 10 from it), and even interacting with a person
(asking the user for a number). It is common to assign a macro to a
keystroke or toolbar icon so that it can be quickly started…”