To run a macro when the Current event occurs, set the OnCurrent property to the name of the macro.
Remarks
You can't use the CancelEvent action in a Current macro to cancel the Current event. However, you can use the GoToRecord action to move the focus to a different record.