More detail on recording macros is provided in Chapter 13 (Getting
Started with Macros) in the Getting Started guide; we recommend you
read it if you have not already done so. More detail is also provided in
the following sections, but not as related to recording macros.
Write your own functions
Calc can call macros as Calc functions. Use the following steps to
create a simple macro:
1) Create a new Calc document named CalcTestMacros.ods.
2) Use Tools > Macros > Organize Macros > OpenOffice.org
Basic to open the OpenOffice.org Basic Macros dialog. The
Macro from box lists available macro library containers including
currently open OOo documents. My Macros contains macros that
you write or add to OOo. OpenOffice.org Macros contains macros
included with OOo and should not be changed.
Figure 293: OpenOffice.org Basic Macros dialog
3) Click Organizer to open the OpenOffice.org Basic Macro
Organizer dialog. On the Libraries tab, select the document to
contain the macro.
Chapter 12 Calc Macros 345
Commentaires sur ces manuels