OpenOffice.org OpenOffice - 3.3 Quick Start Guide Page 338

  • Download
  • Add to my manuals
  • Print
  • Page
    / 379
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 337
How to run a macro
A typical method to run a macro is as follows:
1) Use Tools > Macros > Run Macro to open the Macro Selector dialog (see
Figure 309).
2) Select the library and module in the Library list (left hand side).
3) Select the macro in the Macro name list (right hand side).
4) Click Run to run the macro.
Figure 309: Use the Macro Selector dialog to run macros
Although you can use Tools > Macros > Run Macro to run all macros, this is not
efficient for frequently run macros. A more common technique is to assign a macro to
a toolbar button, menu item, keyboard shortcut, or a button embedded in a
document. While choosing a method, it is also good to ask questions such as:
Should the macro be available for only one document, or globally for all
documents?
Does the macro pertain to a specific document type, such as a Calc document?
How frequently will the macro be used?
The answers will determine where to store the macro and how to make it available.
For example, you will probably not add a rarely used macro to a toolbar. To help
determine your choices, see Table 4.
Table 4. Methods for starting a macro
Type OpenOffice.org Document Type Document
Toolbar No Yes Yes
Menu No Yes Yes
Shortcut Yes Yes No
Event Yes No Yes
338 Getting Started with OpenOffice.org 3.3
Page view 337
1 2 ... 333 334 335 336 337 338 339 340 341 342 343 ... 378 379

Comments to this Manuals

No comments