A Form has a CreateControl method. Check out VBA Help.
The form has to be open in Design view for this method to work. This can
turn into a pretty big PIB.
Also, AFAIK, design views are not possible (even via code) if using Runtime.
I'm not 100% sure about this, so if you're even *possibly* designing for
Runtime users, make sure it is feasible to do in Runtime before you expend a
lot of time & effort on getting it precise.
HTH,