O'Reilly logo

Learn OpenOffice.org Spreadsheet Macro Programming by Dr. Mark Alexander Bain

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Libraries

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required