Conteúdo

# Events

Atribui macros a eventos de programa. A macro atribuída é automaticamente executada sempre que o evento escolhido ocorra.

Para aceder a este comando...

Choose Tools - Customize - Events tab.

## Sheet Events

LibreOffice Calc specific sheet events. You can assign a macro to each sheet event.

## Guardar em

Select first where to save the event binding, in the current document or in LibreOffice.

Uma macro guardada com um documento só pode ser executada quando o respetivo documento é aberto.

The big list box lists the events and the assigned macros. After you selected the location in the Save In list box, select an event in the big list box. Then click Assign Macro.

## Atribuir macro

Opens the Macro Selector dialog to assign a macro to the selected event.

## Assign Component...

Opens the Assign Component dialog to set a custom UNO command for the selected event.

Component assignment is proposed for controls in the Dialog Editor.

## Remover macro

Deletes the macro or component assignment for the selected event.

Tópicos relacionados

Lista de eventos

Configurar o LibreOffice

Creating a Dialog Handler

Sheet Events