It is a bit of an annoyance.
1. Copy and paste the control.
2. Change the Name of the control to something meaningful.
3. Copy the code without the sub header/footer.
4. In the property dialog for the new control, press the three dots to create code for the event.
5. Paste the code into the created shell sub.