For myself, if I have code that will be called from more than one place, I put it in its own SUB. I then reference that SUB any place I need to. This helps avoid the "Well, this button presses that button, which pushes those buttons" issues and helps you keep track of where you have code.