Function RecordName_HookName(param) ' param as EventObject REM Your code here End Function
The parameter passed to a record script is an instance of the EventObject class. This instance contains information about the event that triggered the call to the hook. It contains the type of the event, the control that invoked it, and additional information depending on the type of event. For more information, see Record scripts.