Getting Started Guide
Figure 300: OOo Macro Organizer dialog, DBInspection library selected
4) Be certain to open the library container named My Macros. Find the library
named Standard under My Macros. Be warned, every library container has a
library named Standard. Select the Standard library and click New Module to
create a new module to contain the macro.
5) The default module name is Module1. Type a descriptive name and click OK to
create the module. The OpenOffice.org Basic Macros dialog is displayed again,
showing the new module.
Figure 301: Give your module a meaningful name
6) Highlight the newly created module. In the upper left corner, type the macro
name to use, such as “EnterMyname”, and then click Save to save the macro.
If you followed all of the steps, the Standard library now contains a module named
Recorded, which contains the EnterMyName macro, as shown in Figure 302. When
OOo creates a new module, it automatically adds the macro named Main.
Running the macro
Use Tools > Macros > Run Macro to open the Macro Selector dialog. Select the
newly created macro and click Run.
Chapter 13 Getting Started with Macros 325










