Before we start writing macros, we'll have a look at libraries—you'll recall from Chapter 1 that macros are stored in modules, and modules themselves are stored in libraries. Libraries can be in one of the three areas:
My Macros: The location common to all of your own macros
OpenOffice.org Macros: The system-wide location for macros
Embedded in a spreadsheet: Accessible by a single spreadsheet
You may also remember that when we came to create a module, we didn't have to create a library; OOo did that for us, setting up one called Standard. This is a mandatory library, and the OOo IDE will not let you delete it or rename it. Unless you instruct the IDE otherwise, all of your new modules will be placed in Standard.
Now, you ...