That is the behaviour of VBA code editor, sometimes it is quite annoying.

If no event Sub existed in code module for the control that you double click, a default event Sub will be created for that control. That is not neccessary you have to use that event. If you don't want it (in many cases), just make another event Sub then delete the unwanted Sub.