Mouse event for a button

Mouse event for a button

Dear Sirs,
I can not figure out how to call VBA script when a button is pressed.
When I go to button's VBA section, MouseEvents, LeftClickDown, a Select macros dialog is open, which is empty.
As far as I understand a VBA subroutine have to be provided with at least one parameter of type Element.
I tried to create my on subroutine in a module of current project, but my Sub is not seen in Select macro dialog.
I know that it is simple question but I can not find something useful in help documentation and in forum.
regards,
Yolov

This is a migrated post! Originally posted on 25.06.2013 by user yolovs. Please be aware that information can be outdated.