Events/text/shared/01/06140500.xhpcustomizing; eventsevents; customizingEventsAssigns macros to program events. The assigned macro runs automatically every time the selected event occurs.The dialog box has reduced functionality when called from the Edit-Sheet menu of a spreadsheet.Save InSelect first where to save the event binding, in the current document or in %PRODUCTNAME.A macro that is saved with a document can only be run when that document is opened.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.Assign MacroOpens the Macro Selector 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.Remove MacroDeletes the macro or component assignment for the selected event.List of eventsCreating a Dialog Handler