Contents

# Events

Assigns macros to program events. The assigned macro runs automatically every time the selected event occurs.

若要使用此指令...

Choose Tools - Customize - Events tab.

## Sheet Events

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

## 儲存位置

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

隨文件一同儲存的巨集僅當該文件開啟時才被執行。

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.

## 指定巨集

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.

## 移除巨集

Deletes the macro or component assignment for the selected event.

相關主題

事件清單

調整 LibreOffice

Creating a Dialog Handler

Sheet Events