Buttons

From Apache OpenOffice Wiki
Jump to: navigation, search



On the right-hand side of the OpenOffice Basic Macros dialog, there are several buttons. The following list describes the buttons:

  •  Run 
Executes the Sub or Function currently displayed in the Macro name edit field. The OpenOffice Basic Macros dialog is closed, before the macro is executed.
  •  Close 
Closes the OpenOffice Basic Macros dialog without any further action.
  •  Assign 
Opens the Customize dialog that can also be opened using Tools - Customize. This dialog can be used to assign Basic macros to events. For details see Assigning Macros to GUI Events below.
  •  Edit 
Loads the module selected in the tree into the Basic macro editor. The cursor is placed on the first line of the Sub or Function displayed in the Macro name edit field. See chapter Basic IDE Window below for details about the Basic macro editor. This button is disabled if there is no module selected in the tree or no existing Sub or Function displayed in the Macro name edit field.
  •  Delete 
This button is only available if an existing Sub or Function is displayed in the Macro name edit field. The Delete button removes the Sub or Function displayed in the Macro name edit field from the module selected in the module selected in the tree.
  •  New 
This button is only available if no existing Sub or Function is displayed in the Macro name edit field. The New button inserts a new Sub into the module selected in the tree. The new Sub is named according to the text in the Macro name edit field. If Macro name is empty, the Sub is automatically named Macro1, Macro2, and so forth.
  •  Organizer 
This button opens the OpenOffice Basic Macro Organizer dialog box that is explained in the next section.
  •  Help 
Starts the Apache OpenOffice help system with the Macros topic.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages